Copy link to clipboard
Copied
I have gone through the documentation and am unable to find a way to set the default value of the panels to closed. I have looked at the java script file of the spry and have changed some null values to true and some to but this has no effect. I have seen this spry used in other sites and the panels are closed at the on set when the page is called. I would like any help you could give me thank you.
Copy link to clipboard
Copied
Hi
I have answered this in your post the the general section of the forum, but for others looking in this section, here it is again.
At the bottom of your page -
<script type="text/javascript">
<!--
var Accordion1 = new Spry.Widget.Accordion("Accordion1", { enableAnimation: false, useFixedPanelHeights: false, defaultPanel: -1 });
//-->
</script>
PZ