EditLiveMode Property
Indicates which mode EditLive! is running in (HTMLString, FTPStandard,
FTPFileManager, FTPFileManagerReadOnly, ViewOnly).
Applies To
EditLive Object
Syntax
| JavaScript |
object.setEditLiveMode(
sEditLiveMode );
[ sEditLiveMode = ] object.getEditLiveMode();
|
Possible Values
| sEditLiveMode |
Required. String that specifies
the mode EditLive is to be run in.
EditLiveMode Values |
Description |
| "HTMLString" |
For working with HTML fragments. |
| "FTPStandard" |
For working with single files stored on a web
server. |
| "FTPFileManager" |
For working with multiple files stored on a web
server with full file management capabilities. |
| "FTPFileManagerReadOnly" |
For working with multiple files stored on a web
server with limited file management capabilities. |
| "ViewOnly" |
For viewing files only. All editing
functionality is disabled. |
|
This property is read/write. This property must be defined.
Examples
JavaScript
The following example would set EditLive to run in HTMLString mode.
function EditLive1_onload() {
editLive1.setEditLiveMode( 'HTMLString' );
}
The following example would show a message box with the current value of
EditLiveMode.
function button1_onclick(){
var sEditLiveMode = editLive1.getEditLiveMode();
alert( sEditLiveMode );
}
Minimum Version
EditLive! 1.0 or greater.
ViewOnly available in EditLive! 1.2 or greater.
See Also
|