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 TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1", { defaultTab: 2 });
</script>
Hi,
The Tabbed Panels widget doesn't really have the concept of 'no panel open', like the accordion does.
You would have to use some custom javascript/css to hide the content panels until you needed them.
Wish we had a built-in solution for you,
Donald Booth
Adobe Spry Team
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/en_US/Spry/1.4/WS4E8E4164-620E-4564-9531-39CC1B081151.html
Comments
Comments are no longer accepted for Spry 1.4. Spry 1.6 is the current version. To discuss Spry 1.4, please use the Adobe forum.