View Full Version : Accordion Content script: Open the first header by default.

02-24-2009, 04:00 AM
1) Script Title: ddaccordion.js

2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...daccordion.htm

3) Describe problem: I have this script on a number of pages, but what happens is if there is a link the second header to another page, when the other page opens the second header is open by default.

I do not want this, how can I have the first header open by default everytime a page opens, even if a link from the second header opens another page.

Thank you.

02-24-2009, 04:11 AM
Just disabled persistence when you call ddaccordion.init():

persiststate: false, //persist state of opened contents within browser session?