3.3.4 Setting Parameters
You can call the ewebeditor.htm page by passing arguments like
.. /ewebeditor/ewebeditor.htm?id=content1
Parameter |
Description |
id |
form item name for editing contents saved correspondingly, that is the citing form item name for submitting saving pages |
style |
Style name for use can be standard style name or customized style name. If you use default coolblue, blank can be left. |
originalfilename |
form item name for the list of original uploaded files saved correspondingly, which must be of input type and can contain onchange events. |
savefilename |
form item name for the list of uploaded files saved correspondingly, which must be of input type and can contain onchange events. |
savepathfilename |
form item name for the list of uploaded file path saved correspondingly, which must be of input type and can contain onchange events. |
extcss |
Citing by external style table, it is the path file compared to eWebEditor directory. The file name is *.css |
cusdir |
Self-definition upload path interface. The default setting of this function is closed. If you want to open it, you can use the upload path interface in the program and set the upload path dynamically. This function is usually applied in the multi-user system, and the files uploaded by different users are stored in distinct file folders. |
skin |
A specified interface skin is forced to use. When the value is valid, the skin settings of the background are invalid. Values can be set as follows: office2003, office2000, officexp, blue1, etc. |
fixwidth |
Call the fix width. Specify the width of the editing area, making the width of the background editing area consistent with that of the foreground display area. When the value is valid, set the background restriction invalid. Values can be set as follows: 500 px. |
lang |
A specified language pack is forced to use. When the value is valid, the language settings of the background are invalid. Values can be set as follows: zh-cn, zh-tw, da, nl, en, fr, de, it, ja, no, pt, ru, es, sv. |
readonly |
Set the read-only mode for the editor with two modes to choose: readonly=1 : read-only mode, with status bar readonly=2 : read-only mode, without status bar |
skey |
It is short for SessionKey, used for the advanced security Session interface, making the same user in the same website has different dynamic configurations in different page or different column. It complies with any letters or a string of number named by variables. Please see the detailed method of use in "advanced security Session interface" section. |
autogrow |
Set the adaptive height mode. When the value is set, the height of the editor will automatically adjust the height according to the height of the input content. The minimum height value set in the background is still valid. (V8.0 add) autogrow = 1: enable |
To know more about the application of interface parameter for uploading files, you can visit the following online demo page.
http://www.ewebeditor.com/Demo/GetUploadedFiles.asp
Or you can run the example program provided in our compressed program package:
http://www.yoursite.com/ewebeditor/_example/para_file.asp(.aspx/.php/.jsp)
To know more about the application of interface parameter for external style, you can visit the following online demo page.
http://www.ewebeditor.com/Demo/extcss.asp
Or you can run the sample program provided in our compressed program package:
http://www.yoursite.com/ewebeditor/_example/para_extcss.asp(.aspx/.php/.jsp)