login | register
Mon 15 of Mar, 2010 (19:46 UTC)

bitweaver - Web Application Framework and CMS

Web Application Framework and CMS

Refresh cacheHistoryPrint

BitTabs

the easy way to create funky tabs

Created by: xing, Last modification: Sun 08 of Jun, 2008 (19:06 UTC)

Tabs in your templates

To use these degradable javascript tabs in your templates, just use the following code:
{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

Comments

Reply to this comment

how to force a tab in some situation

by sylvie, Fri 23 of 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