PDA

View Full Version : Smart Folding Menu Tree - Close one main folder when a new one is opened...



Ilana
10-04-2005, 09:20 PM
Script: Smart Folding Menu tree
http://www.dynamicdrive.com/dynamicindex1/navigate1.htm

Hi -

I am hoping someone can help! I am using the Smart Folding menu tree on the following site:

http://216.105.52.70/index.asp?PageAction=Custom&ID=3

(Not live yet but will be in a few days...)

I love the way this script works and everything was very simple to implement. I am just hoping I can make one modification. We need the script to close one folder when a new one is selected. So, for example, on our site we would like the "Bed and Bath" folder to close when the "Home Decor" is opened.

Is this possible? I haven't seen any documentation to this effect. This isn't an issue with the persistance... I really like that the menu stays open when different items are clicked. I just want the main folder to close when another is selected.

I would appreciate any help as soon as possible as the site is supposed to have its soft launch on Monday October 10th.

Thanks!!

Ilana

bobbby
10-05-2005, 07:17 AM
Hi Ilana,

I hope I dont piss people off by suggesting a script from the competition, but Im using a similar script that does exactly what you want.
it can be found here:
http://www.howtocreate.co.uk/tutorials/jsexamples/listCollapseExample.html

the script can be used in several ways and you want the bottom version.

check it out.

Ilana
10-05-2005, 04:46 PM
Hi Bobbby,

Thank you so much for your suggestion!

Unfortunately this script doesn't work the same way as the DD does. There is one important feature missing... I need to be able to make the main parent option (On their example Book 1, Book 2, etc.) into a link so it will open a new page. (There is important content on these pages we want them to see.) So I guess I have to figure out something else.

Thanks again though - I really appreciate that you took the time to help me!

Anyone else have any suggestions?

I haven't seen any message on this list about not offering payment for services... but I actually have a budget for this work as it is for a paying client. If someone wants the work to modify the DD script to make it usable, please feel free to contact me directly at iwilner at hotmail.com


Ilana

Ilana
10-06-2005, 05:39 AM
Hi -

In case this is useful to anyone... I have found another DD script that actually does what I was looking for.

Check out -
http://www.dynamicdrive.com/dynamicindex1/switchmenu.htm

Good luck!