View Full Version : Switch Menu script - retain open status

04-23-2008, 11:37 AM
1) Script Title: Switch Menu

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

3) Describe problem: Is there anyway to retain the collapsed menu in new page.

a. I clicked on a menu title to open the sub menu.
b. from the sub menu I clicked a link which leads to another page.
c. When I reached the new page, the menu is reset, and I need to click again on the same menu title to go o another sub page of that same menu title.

Is there any way to retain collpased in the next page?

Plz, help me to solve this issue.

04-23-2008, 11:47 AM
The script provide a site wide persistence and which exactly means that it will remember the menu's location. Have you made any changes in the JS code that made it local (meant for only one page).

04-24-2008, 05:12 AM
It works fine for the first Menu Title i.e. "Site Menu".
But, When I change some of the scripts for "Cool Links" it is not working.

I 've attached the sample files that I 've done.

Please help me to resolve this issue.