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 with
windows: mozilla, firefox, opera, msie
linux: mozilla, firefox, opera, konqueror

Related Items

Features

  •    •    •    •    •    •    •    •    •    •    •    •  Anonymous  •  Anonymous

Comments

how to force a tab in some situation

by sylvie, 23 Sep 2005 (14:16 UTC)
I am just curious to know how you do when you want to enter another tab depending of the context.
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