15.08.2013 Views

Ektron® eWebEditPro Developer's Reference Guide

Ektron® eWebEditPro Developer's Reference Guide

Ektron® eWebEditPro Developer's Reference Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The Parameters Object<br />

JavaScript Objects<br />

The parameters object is used to set parameters prior to creating an instance of<br />

the editor. This is a property of the <strong>eWebEditPro</strong> object (for example,<br />

<strong>eWebEditPro</strong>.parameters).<br />

See Also: “Parameters Object” on page 7<br />

Use the parameters object to change default values for a particular instance of an<br />

editor. To change the default values for all instances of the editor, change the<br />

value in ewebeditprodefaults.js.<br />

The names of most parameters match the names in defaults.js. The different ones<br />

are listed below.<br />

NOTE It is important to retain the case (upper or lower) of the letters when changing a<br />

parameter value.<br />

Parameters Object Properties<br />

default.js parameters.<br />

buttonTagStart .buttonTag.start<br />

buttonTagEnd .buttonTag.end<br />

popup* .popup.* (the first letter after a<br />

popup becomes lowercase)<br />

For a complete list of parameters and their default.js values, see “Customizing<br />

the Popup Button” on page 189.<br />

These properties are the same as those in ewebeditprodefaults.js. In fact,<br />

ewebeditprodefaults initializes the parameters object.<br />

The following parameters are part of the ActiveX control. Go to the listed page<br />

numbers to read about them.<br />

• “Property: hideAboutButton” on page 124<br />

• “Property: Config” on page 122<br />

• “Property: BaseURL” on page 112<br />

• “Property: CharSet” on page 122<br />

• “Property: Title” on page 125<br />

• “Property: bodyStyle” on page 121<br />

For additional Parameters Object properties, methods and events that are not part<br />

of the ActiveX control, see “Parameters Object” on page 7.<br />

<strong>Ektron®</strong> <strong>eWebEditPro</strong> Developer’s <strong>Reference</strong> <strong>Guide</strong>, Release 5.1, Revision 1 242

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!