Spry

Set default open panel

You can set a panel to be open when the page containing the Tabbed Panels widget loads in a browser.

 Set the defaultTab option in the constructor as follows:
<script type="text/javascript">
	var TP1 = new Spry.Widget.TabbedPanels("TabbedPanels1", { defaultTab: 2 });
</script>
Note: The Tabbed Panels widget uses a zero-based counting system, so setting the value to 2 opens the third tabbed panel.