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

Hiermenus Go Forth, II - DHTML Lab | 8

Logo

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



Element 13 - top_more_images_visible

Description
Suppresses the display of "more" images in top-level menu items.


The menu above is a horizontal permanently positioned top-level menu. Unlike previous examples, it has no right-pointing-triangle image denoting child menus.

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 top-level menu items.
true Boolean: false
    "More" images are NOT displayed in top-level menu items.

integer Boolean: 1
    "More" images are displayed in top-level menu items.
integer Boolean: 0
    "More" images are NOT displayed in top-level 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 top_more_images_visible parameter.
JS expression (complete statement):
"(IE4) ? (document.body.clientWidth>640) : (window.innerWidth>640)"
    Top-level menu items will display "more" images if the user's browser window is more than 640 pixels wide. Like on the previous page, there are no obvious conditionals for this parameter. You would either want the images or not. However, there may be a case where you would need to evaluate a statement, so we have provided this option.

Default
true.
If omitted, "more" images will be displayed in top-level menu items.

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

Comments
This parameter is especially useful if top_is_permanent is set to true.
In many cases a permanent in-page menu does not have cascade-denoting indicators, whereas child menus do.

But what if you don't want the "more" images appearing anywhere?


Produced by Peter Belesis and

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

URL: https://www.webreference.com/dhtml/column36/6.html