PDA

View Full Version : Collapsable menu needed


beetle
11-11-2002, 03:57 PM
Hey all

I need a certain type of menu system...wondering if anyone has seen one...

The requirements I have are Must use validating (X)HTML
Prefer construction of just UL blocks
Custom image support
Work in IE5+ and Gecko
Have persistence (cookie-based) from page to page
Must take up a minimal global namespace, if any at all
I've already tried this (http://www.dynamicdrive.com/dynamicindex1/navigate1.htm) and it's okay (and the closest to what I need), but uses multiple, identical IDs to achieve it's results, which I don't want.

If nobody has seen anything like this, then I suppose I'll just have to make it. :D

Thanks.

Bosko
11-11-2002, 08:32 PM
This may be what you need:
http://www.kryogenix.org/code/browser/aqtree2/

beetle
11-13-2002, 02:54 PM
Thanks bosko. That one is pretty decent, but still a but muddy for what I'd like, plus it doesn't have the cookie-based persistence.

I'm already writing my own, will be much cleaner/better than this. :D

Vladdy
11-13-2002, 03:35 PM
Hey beetle,

I'm working on this site now and developed a JS menu for it that could be close to what you are looking for:

http://server.ime.uri.edu

It sure can easily be changed to accomodate images.
All styling is css - so flexibilty is ultimate as far as presentation goes.

beetle
11-13-2002, 04:09 PM
Thanks, but you've already been helping me with my own version (http://www.lanwizards.com/navtest/test.htm) :D

It works now and degrades on two levels. If the user doesn't have javascript enabled, they still see a CSS-styled menu (expanded). Older browsers and screenreaders and such will just see a regular set of nested ULs.

Now I need to get the persistence working :D