|
home / documentation / reference / itemtitle
ItemTitle
- Description:
- The title text that is applied to menu items.
- Value:
- String, "", or JavaScript expression that returns a String/"".
- Applies To:
- Menu Items.
- Browser Compatibility:
- ItemTitle is not supported in Netscape 4.x.
- Comments:
- ItemTitle is transfered directly to the item element's
title property after the item is created. Some browsers render
title elements as "tooltips" when the user hovers the mouse over
a titled element; other user agents may use the title attribute
for accessibility reasons.
- Examples:
// Ok:
ItemTitle:"Products",
ItemTitle:"",
ItemTitle:(window.showTitle)?"Products":"",
// if the user defined variable "showTitle" is true,
// then the title is "Products"
// Incorrect:
ItemTitle:Products, // Strings must be quoted
ItemTitle:'(window.showTitle)?"Products":""',
// no quoted expressions
- Default:
- ""
- See Also:
-
MenuTitle
|