PDA

View Full Version : Collapse accordian script from page to page



mraccine
10-29-2008, 05:40 PM
1) Script Title: Accordion Content script

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

3) Describe problem: I'm using only one drop-down and also using the revealtype: "click" option. I would like to have the menu closed each time when navigating from page to page.
Example: If the menu is open on "page A" and you navigate to "page B", the menu is already open on "page B".

Mike

ddadmin
10-29-2008, 07:07 PM
Simply turn off persistence in the menu. It's the option in red in your configuration code:


onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
animatedefault: false, //Should contents open by default be animated into view?
persiststate: false, //persist state of opened contents within browser session?