1) Script Title: accordion menu apple style
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ordionmenu.htm
3) Describe problem:
Hi, how can I collapse all headers by doing a site refresh?
Hope, someone has an idea.
Thanks!
1) Script Title: accordion menu apple style
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ordionmenu.htm
3) Describe problem:
Hi, how can I collapse all headers by doing a site refresh?
Hope, someone has an idea.
Thanks!
If you have the following two variables set as follows, reloading the page should cause all the contents to be collapsed:
Code:defaultexpanded: [], //index of content(s) open by default [index1, index2, etc] [] denotes no content onemustopen: true, //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?
DD Admin
Bookmarks