|
home / documentation / reference / moreimagesvisible
MoreImagesVisible
- Description:
- Boolean value indicating whether or not HierMenus
should display more images.
- Value:
- Boolean (true or false), Integer (1=true, 0=false),
or JavaScript expression that returns a boolean value.
- Applies To:
- Menu Items.
- Browser Compatibility:
- MoreImagesVisible is supported in all browsers.
- Comments:
- "More" images are the (usually) triangular images that appear
within a menu item denoting the existence of a child menu for this menu item. If
MoreImagesVisible is set to true (or 1), then HierMenus
will display the more image. If false (or 0), no more image
will be displayed even if a child menu is present for the item.
If there is no child menu designated for this menu item, then no more image
will be displayed, even if MoreImagesVisible is true. Likewise,
if the designated child menu does not exist when the menu item is created,
(i.e., if the child menu was never registered via HM_f_SetMenus),
then no more image will be displayed.
If the ImageSrc parameter is null, then no more image will be
displayed even if MoreImagesVisible is set to true.
- Examples:
// Ok:
MoreImagesVisible:true,
MoreImagesVisible:0,
MoreImagesVisible:(window.showMore)?1:0,
// if the user defined variable "showMore" is true, show images
// Incorrect:
MoreImagesVisible:"false", // quotes not allowed around booleans
MoreImagesVisible:"0",
MoreImagesVisible:"(window.showMore)?1:0", // no quoted expressions
- Default:
- true
- See Also:
-
ImageDir,
MoreImageAlt,
ImageSrc,
ImageSrcOver,
ImageSrcLeft,
ImageSrcLeftOver,
ImageWidth,
ImageHeight,
ImageHorizSpace,
ImagevertSpace
|