15.08.2013 Views

Ektron CMS400.NET Developer Reference Manual

Ektron CMS400.NET Developer Reference Manual

Ektron CMS400.NET Developer Reference Manual

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.

Custom JSP Functions<br />

you display menu options that link to content blocks, library assets,<br />

external hyperlinks and submenus.<br />

To learn more about menus, please refer to the “Menu Feature”<br />

chapter of the <strong>Ektron</strong> <strong>CMS400.NET</strong> User <strong>Manual</strong>.<br />

Additional Documentation in <strong>Ektron</strong> Knowledge Base<br />

This chapter explains how to implement standard menus that ship<br />

with <strong>Ektron</strong> <strong>CMS400.NET</strong>. <strong>Ektron</strong>’s Web site also provides<br />

Knowledge Base articles that explain how to extend the standard<br />

menu features.<br />

Displaying a Menu on a Web Page<br />

GenerateMenu and DropMenu<br />

IMPORTANT!<br />

The menu functions described below are only one example of how to implement<br />

menus. You can implement your own menu system using JavaScript.<br />

Use the GenerateNextGenMenu and DropNextGenMenu custom<br />

functions to display a DHTML menu on a Web page. Place<br />

GenerateNextGenMenu once on the page to provide an infrastructure<br />

for DropNextGenMenu. Then, place DropNextGenMenu as needed to<br />

implement individual menus.<br />

Follow these steps to display a menu on a Web template.<br />

1. Place the following code directly after the page’s tag.<br />

<br />

For example:<br />

<br />

To display more than one menu, separate each id number with<br />

a comma. For example:<br />

<br />

2. If the user clicks text to display the menu, place the following<br />

code within the template file where the text would appear.<br />

"<br />

For example:<br />

<strong>Ektron</strong> <strong>CMS400.NET</strong> <strong>Developer</strong> <strong>Reference</strong> <strong>Manual</strong>, Version 5.1, Revision 5 531

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

Saved successfully!

Ooh no, something went wrong!