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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Element<br />

Attribute<br />

Selection Elements<br />

Value(s) Description<br />

name target The name of this dropdown list.<br />

enabled true (default) User can select from the Target Frame list.<br />

Specifying Default Values for the Insert Hyperlink Dialog<br />

Managing Hyperlink Dialogs<br />

false User cannot select from the Target Frame list; selections are<br />

grayed out.<br />

visible true (default) Target Frame list is visible.<br />

listchoice/<br />

value<br />

listchoice/<br />

localeRef<br />

listchoice/<br />

default<br />

listchoice/<br />

<br />

false Target Frame list is not visible.<br />

Any valid frame name<br />

or one of the following<br />

special names:<br />

_blank,<br />

_self, _parent,<br />

_top<br />

The list of target window types from which the user can choose.<br />

refID A code to translate this element within the localization files.<br />

true This choice is the default type.<br />

false (default) This choice is not the default type.<br />

Text to appear in the target list if no localeRef is found.<br />

You can customize the default values that appear in the Insert Hyperlink dialog<br />

box. To do this, enter a text data argument of HTML hyperlink (that is, tag)<br />

attributes when sending the command in JavaScript.<br />

For example:<br />

var strAttrs = "type='video/mpeg' href='ski.mpeg' text='Learn to Ski'";<br />

<strong>eWebEditPro</strong>.instances[sEditorName].editor.ExecCommand("cmdhyperlink", strAttrs, 0);<br />

If you do, the Insert Hyperlink dialog will have the default values specified in the<br />

attributes string. You can also specify attributes that do not appear in the dialog.<br />

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

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

Saved successfully!

Ooh no, something went wrong!