DHTML Lab: Hierarchical Menus Ver. 2 - Addendum (v2.1) | 6
| |
Hierarchical Menus Ver. 2 - Addendum (v2.1) additional features
| |
Click the links above to reveal menus. Click the button above for frame-related mods.
Animated GIF demonstrating heirarchical menus for non-DHTML browsers.
| |
The next version (Version 3) of the Hierarchical Menus is almost totally based on suggestions from readers of this column. The new features include:
- Complete rewriting of the IE4 logic for faster menu creation (1/2 the v.2 time) and even faster menu re-creation (1/3 the v.2 time). (standard)
- Foreign server page origin to be excluded from frame menu re-creation to avoid security-related errors. (standard)
- Background item highlight maintained across menu tree so relationship of child menu with parent items is apparent (option).
- Absolute positioning for top-level menus, to align with page layout. (option)
- Different color scheme (font, background, mouseovers) for each menu tree. (option)
- Different widths for each menu tree. (option)
- Mouseover/Click option for initial top-level menu display. Alternative menu re-creation if click option selected. (option)
- Tall menus that do not fit vertically in window will be broken into side-by-side sections. (option)
- Left pointing triangle image to be included on left of menu item for menu trees that open and build from right-to-left. (option)
To help in the development of this and any future versions, a new Forum thread has been posted: Hier Menu Want List. Please post your suggestions there. They will be read and noted, and will be available for all to comment on.
On the next page, the hierMenus.js external script for Version 2.1 is repeated for your reference. Replace the Version 2 incarnation with this one to use JavaScript URLs and non-standard frame-loading options.
|
Produced by Peter Belesis and
All Rights Reserved.
Legal Notices.
Created: June 29, 1998
Revised: June 29, 1998
URL: https://www.webreference.com/dhtml/column20/addendum/col20add6.html