PDA

View Full Version : Accordion Compressed



racerxfactor
07-13-2009, 05:33 PM
1) Script Title: Accordion

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu.htm

3) Describe problem: I have the menu linked internally within the site. the problem I'm having is that when you navigate to the page the menu stays uncompressed. I was wondering if there is a way to have the menu go back to the compressed state when landing on the page.

racerxfactor
07-13-2009, 05:54 PM
persiststate: false, //persist state of opened contents within browser session?

racerxfactor
07-14-2009, 10:03 PM
So after doing this it has inadvertently effects other pages on the site. There is only one page I would like to have it regardless of where you are on the site to return to this page and the menu is compressed.

now after making the change while the one page that i want to have the nav compressed is compressed but navigating out of the page will sometimes cause that pages' nav to be compressed when it's not defined in persiststate

racerxfactor
07-15-2009, 09:31 PM
setting all the persiststates' to false and setting defaultexpanded to the corresponding navs gets the needed effects i'm looking for. hope this helps whoever is reading this.