BitTabs
the easy way to create funky tabs
Created by: xing, Last modification: 08 Jun 2008 (19:06 UTC)
Tabs in your templates
To use these degradable javascript tabs in your templates, just use the following code:
<?php
{jstabs}
{jstab title="title of first tab"}
<p>add some content here</p>
{/jstab}
{jstab title="title of second tab"}
<p>add some content here</p>
{/jstab}
{jstabs}
?>
browser compatibility
seems to work well withwindows: mozilla, firefox, opera, msie
linux: mozilla, firefox, opera, konqueror
Comments
how to force a tab in some situation
For instance, I have a page with 2 tabs, the list of items and an edit tab. The default tab is the list of items. A user edited an item but did some mistake. How can I direct him to the second tab and not the default one.
Thanks