PDA

View Full Version : Simple Tree Menu: how to automatically collapse folders



Rikhahrt
09-09-2009, 04:44 AM
1) Script Title:
Simple Tree Menu

2) Script URL (on DD):
www.dynamicdrive.com/dynamicindex1/navigate1.htm (http://www.dynamicdrive.com/dynamicindex1/navigate1.htm)

3) Describe problem:
It's not a problem, it's kinda an improvement. I'd like the script to automatically collapse all other folders when I click on one. I tried to do it by calling the "collapse all" function on the onClick event of the folders, but it will work for first level menus only.

I searched the forum for help and found a couple of old posts about it, but none of them were ever responded.

If you could help me with this, it would be great.

Thanks in advance!