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.

Field How to Set Default Value<br />

Entering the Sample Code<br />

Managing Hyperlink Dialogs<br />

The following table explains how to set a default value for each field in the Insert<br />

Hyperlink dialog.<br />

Type Taken from the href attribute. For example, href='ftp://domain.com/' illustrates<br />

the type “ftp”.<br />

Link The href attribute without the protocol (Type) or bookmark<br />

Bookmark Taken from the href attribute. For example, href='http://domain.com/<br />

file.htm#bkmark'<br />

Text Use the 'text' pseudo attribute. For example, text='Learn to Ski'<br />

Target Frame The target attribute. For example, target="_blank"<br />

Quick Link Cannot set default<br />

Enter the sample code in a customevents.js file, in a onexeccommand handler<br />

function (for details, see “Creating a Custom Command” on page 215). The<br />

command is executed when the user selects it from a custom dropdown list or<br />

presses a custom button.<br />

To learn how to create a custom dropdown list, see “Creating a Popup Menu” on<br />

page 181.<br />

To learn how to create a custom button, see “Creating a Custom Command” on<br />

page 215.<br />

Editing the New HyperLink Dialog Box<br />

The New Hyperlink toolbar button ( ) lets users quickly add a hyperlink to their<br />

Web content. The hyperlink command, jshyperlink, resides in the external<br />

section of the configuration data.<br />

To add a hyperlink, the user selects text, clicks the New Hyperlink button, and<br />

selects a “Quick Link” (the name assigned to a URL) from a drop down menu.<br />

By default, the Quick Links field has three values:<br />

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

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

Saved successfully!

Ooh no, something went wrong!