Sets up a system of multilevel popup menus on a page, works in IE and NS.
Tested under IE 5.01 and Netscape 4.08 on my Win98 box.
Features include:
- Easy array-based setup of menus.
- Menus automatically written to document by constructor function.
- Relative positioning of menus - taken from trigger position on the fly.
- This means you can move the root menu, and
all the others will follow.
- You can choose whether or not to make the first level menu yourself.
- Popup exit timer so triggers and menus don't have to overlap each other.
- Adjustable vertical spacing for each item.
- Customisable colours for each menu - background, border and hover.
- Near unlimited hierarchial menus (popouts).
- Automatically shows only one hierarchy at a time (like Windows' menus).
- Items automatically highlight through hierarchy back to root menu.
- Small code - 5kb with comments removed, plus menu definitions.
You'll definitely want to trim out most of the comments, to speed load time. Please
leave a link to my site in there somewhere - that's where I'll keep the most recent
commented version. Also, try to employ a better sense of colour than I've used in this
demonstration :)
Good luck...