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

Create successful ePaper yourself

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

Custom ColdFusion Functions<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 />

<br />

If the user clicks a graphic to invoke the menu, use this syntax:<br />

<br />

For example:<br />

<br />

Customizing the Menu’s Appearance<br />

ek_Menu.js<br />

XML Menu Function<br />

You can customize a menu’s appearance, such as the font style,<br />

color, and size. So, you have the flexibility to coordinate a menu<br />

with the design your Web site.<br />

To customize a menu in <strong>Ektron</strong> <strong>CMS400.NET</strong>, you can change the<br />

ek_Menu.js file.<br />

You can change the look and feel of a menu by changing the<br />

ek_menu.js file. If you used the default settings when installing<br />

<strong>Ektron</strong> <strong>CMS400.NET</strong>, this file is in webroot/CMS400Example/<br />

Workarea/java/. For a description of the ek_menu.js file, see<br />

”ek_Menu.js” on page 456.<br />

The ecmGetMenuXML function wraps XML around the properties<br />

of a menu created in the <strong>Ektron</strong> <strong>CMS400.NET</strong> Workarea. Once<br />

created you can use the XML to display the menu. The<br />

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

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

Saved successfully!

Ooh no, something went wrong!