| home / experts / dhtml / column38 |
|

In Version 3 every menu item was defined by three consecutive array elements:
item_display_text, item_link_url, item_has_child
Version four defines its menu items with a nested array, containing five elements. More elements may be added in the future, depending on the direction the HM script takes:
[ item_display_text, item_link_url, item_is_rollover, item_permanently_highlighted, item_has_child ]
Let's discuss them one at a time.

The menu above has item display text created by these array parameters:
HM_Array3 = [ [...], ["Browser Help",...], // simple string [NS4 ? "Navigator Help" : "Explorer Help",...], // JS expression [,...], // no value ["<IMG SRC='ie.gif' ALIGN=ABSMIDDLE> IE stuff",...] // simple HTML ]
Next, linking from the menu items..
Produced by Peter Belesis and
All Rights Reserved. Legal Notices.
Created: Oct 03, 2000
Revised: Oct 03, 2000
URL: http://www.webreference.com/dhtml/column38/3.html