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.

If none of these restrictions applies to your situation (for example, all users have<br />

Internet Explorer), you can increase the value of maxContentSize in<br />

ewebeditprodefaults.js or set it in JavaScript.<br />

To have no limit, set maxContentSize = 0.<br />

NOTE This parameter checks the number of characters, which may be different from the<br />

number of bytes, depending on the encoding method.<br />

Object: ”Parameters Object”<br />

Property: objectAttributes<br />

Property: path<br />

Description: Optional attributes to the OBJECT tag. Applies only to Internet<br />

Explorer. For example, the OBJECT tag has an attribute 'standby' that the<br />

developer could set to a string.<br />

objectAttributes="standby='Please wait while the editor initializes.'";<br />

Property: preferredType<br />

Object: ”Parameters Object”<br />

Description: The path to the <strong>eWebEditPro</strong> files relative to the hostname. For<br />

example, /ewebeditpro5/.<br />

This value is set in the ewebeditpro.js file.<br />

Object: ”Parameters Object”<br />

Description: Specifies the type of editor to create. This property has three<br />

possible values:<br />

• textarea - creates a standard HTML textarea field<br />

• section - creates an edit button which, when pressed, displays a popup<br />

window with <strong>eWebEditPro</strong><br />

• activex - creates the <strong>eWebEditPro</strong> editor<br />

If the editor was not installed on the client and the value is set to section or<br />

activex, an Edit button appears on the page. When the user clicks the button, he<br />

is prompted to download <strong>eWebEditPro</strong>.<br />

Examples:<br />

In ewebeditprodefaults.js: this.preferredType = "textarea";<br />

Or, on the page with the editor before it is created:<br />

<strong>eWebEditPro</strong>.parameters.preferredType = "textarea";<br />

Object: ”Parameters Object”<br />

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

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

Saved successfully!

Ooh no, something went wrong!