Hiermenus Go Forth, II - DHTML Lab | 9 | WebReference

Hiermenus Go Forth, II - DHTML Lab | 9

Logo

Hiermenus Go Forth, II:
Version 4 - The External Arrays - New Menu Tree Parameters



Element 14 - tree_more_images_visible

Description
Suppresses the display of "more" images in child menu items.


The menu above is a horizontal permanently positioned top-level menu. It has no right-pointing-triangle image denoting child menus (top_more_images_visible has been set to true) and no images in the child menus as well.

Value
Boolean
May be specified as:
  • true Boolean (true / false)
  • integer Boolean (1 / 0)
  • string JS expression to be evaluated

Example Values
true Boolean: true
    "More" images are displayed in child menu items.
true Boolean: false
    "More" images are NOT displayed in child menu items.

integer Boolean: 1
    "More" images are displayed in child menu items.
integer Boolean: 0
    "More" images are NOT displayed in child menu items.

JS expression (function call): "setTopMoreImages()"
    A custom function that you have created is called. The return value of this function will be assigned to the tree_more_images_visible parameter.
JS expression (complete statement):
"(IE4) ? (document.body.clientWidth>640) : (window.innerWidth>640)"
    Child menu items will display "more" images if the user's browser window is more than 640 pixels wide. Again, we have provided this option just in case you discover a use for it.

Default
true.
If omitted, "more" images will be displayed in child menu items.

Differences from Version 3 equivalent
There is no Version 3 equivalent. "More" images were always displayed in child menu items.

Comments
This parameter should be used in conjunction with top_more_images_visible to create complete menu trees without "more" images.

The final two parameters allow you to customize behavior for your particular page!


Produced by Peter Belesis and

All Rights Reserved. Legal Notices.
Created: Sept 05, 2000
Revised: Sept 05, 2000

URL: http://www.webreference.com/dhtml/column36/7.html