We help IT Professionals succeed at work.

Expand and collapse tree menu

seanpowell
seanpowell asked
on
Hi all - looking for a js tree menu that uses "expand all" and "collapse all" links at the top, but they're the same link.
In other words, one becomes the other when clicked since you can't do both at the same time.

The problem is I can't find an example - do you have any links to one such menu?

Thanks ;-)
Comment
Watch Question

CERTIFIED EXPERT
Expert of the Year 2008
Top Expert 2008
Commented:

Commented:
Do you want a freebie or a commercial solution? Have a look at these:
   http://www.treeview.net/
   http://www.dynamicdrive.com/dynamicindex1/navigate1.h
   http://www.learningmovabletype.com/a/000674expandable_list/

I have to admit though, that I'd personally perfer to use a toolkit like Dojo (dojotoolkit.org) where the sheer power of the whole makes it completely pointless to try to roll your own. Even IBM and Apache use this stuff, so it's pretty darn good!
CERTIFIED EXPERT
Expert of the Year 2008
Top Expert 2008

Commented:
Top Expert 2004

Author

Commented:
Thanks - used b0lsc0tt's solution, should be workable.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.