Here is the demo. Works in (just testing it now…) IE7, Firefox, and Konqueror (although I see a tiny bug in the latter which I’ll have fixed before long). Its degradable, so should be fine as well in Links/Lynx, etc. I’m heading home now, so will work on it at home for Konqueror and Opera (haven’t tested that).
Basically, you just link to the script in your
<head>, and it converts any
<ul> trees that it finds into hierarchical menus – but only if the parent
<ul> has a class name of either “magicmenuleft” or “magicmenutop”.
The code was originally based on work done by Mike Hall, but it’s been so worked over that I feel it’s safe to call this a different kettle of fish.
As usual, feel free to take this and work with it.