Spry

Set the default open panel

You can set a certain panel to be open when the page containing the Accordion widgets loads in a browser.

 Set the defaultPanel option in the constructor as follows:
<script type="text/javascript">
	var acc8 = new Spry.Widget.Accordion("Accordion8", { defaultPanel: 2 });
</script>
Note: The accordion panels use a zero-based counting system, so setting the value to 2 opens the third panel.