PDA

View Full Version : persistate function



racerxfactor
07-14-2009, 07:50 PM
1) Script Title: Accordion

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

3) Describe problem: some pages i have it set to

persiststate: false,

while others i have it set to persiststate: true,

So in this instance the index page is set to false so regardless of where you are on the site it'll go back to a compressed state on that page. however if i navigate out of that page to virtually any other it'll stay compressed when that page is not set to that.

racerxfactor
07-15-2009, 09:32 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.