Cascading Popup Menus v2.31

by Angus Turnbull - http://gusnz.cjb.net. Updated: 15 June 2001.



Sets up a system of multilevel popup menus on a page. Be sure to check my site regularly for compatibility and updates, this is heavily under development. Features include:

You'll definitely want to trim out most of the comments, to speed load time. Also, if you are going to use this script, I would be grateful if you placed a link to my site -- http://gusnz.cjb.net -- somewhere on yours. 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 :)

Basically, to use this script cut and paste the script element and stylesheet into your page. You may wish to make the script element at least an external .JS file, which should speed loading times as people navigate; possibly do the same with the stylesheet.

Good luck! -- Gus.


Version History:


Known Issues / Future Plans:

At the moment, NS6 and IE5 have a major disagreement as to whether borders are rendered inside or outside items. I've implemented a fix that adjusts spacing for NS6, but be aware that with CSS borders you can't have pixel-perfect positioning. Of course, you should definitely test in as many browsers as possible when deploying this menu - at least NS4 and IE.

Also, the cursor changes from a hand to a pointer over the menus in NS4. This isn't a bug as such, you can still click anywhere to activate them. You just can't specify stylesheet cursors in NS4.

Next up (hopefully), the v3.0 release has a large list of improvements. In fact, it's under development as I write this, so visit my site and perhaps sign up to the mailing list.