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.

ek_Menu.js<br />

Custom ASP Functions<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/.<br />

Use the following table to help you change menu attributes.<br />

Attribute name Specifies the Default value<br />

fontSize Size of menu text 14<br />

fontWeight Thickness of menu text<br />

You can set FontWeight by name (Bold or Plain)<br />

or value. Values range from 0 -1000.<br />

fontFamily Font style of menu text<br />

See Also: ”FontFamily” on page 457<br />

fontColor Color of menu text<br />

Note: When changing the color, you can specify<br />

the color name or code.<br />

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

Plain<br />

arial,helvetica,espy,<br />

sans-serif<br />

#000000<br />

fontColorHiLite Color of text when menu item is highlighted #ffffff<br />

bgColor Color of border between menu items #555555<br />

menuBorder Width (in pixels) of border around main menu 1<br />

menuItemBorder Width (in pixels) of border around each menu item 1<br />

menuItemBgColor Background color of menu items #6699ff<br />

menuLiteBgColor Color of main menu border highlight<br />

See Also: ”menuLiteBgColor” on page 457<br />

#ffffff<br />

menuBorderBgColor Color of the main menu border #6699ff<br />

menuHiLiteBgColor Background color of highlighted menu item #000084

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

Saved successfully!

Ooh no, something went wrong!