History of BitTabs

Comparing versions
Version 4Current version
we have recently introduced the easy addition of tabs to pages. this allows you to quickly view a given page and flick between different aspects of that page.

note: this feature is only available in ReleaseOne

currently we are using this for pages in the admin area to simplify the view of complicated and bloated administration pages.

it would be easy to implement this feature in wiki pages as well, however i'm not sure how useful this is...

this is how it's done in a template (if you enable html in a wiki page, this should make it possible in wiki pages as well)

{CODE()}



name of tab 1


add some content here





name of tab 2


add some content here





name of tab 3


add some content here





{CODE}

this is the result using the above code
(the html comments were removed since they interfere with the js script)
Image

browser compatibility
seems to work well with
windows: mozilla, firefox, opera, msie
 

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
Page History
Date/CommentUserIPVersion
08 Jun 2008 (19:06 UTC)
xing88.117.31.1688
Current • Source
xing194.152.164.457
View • Compare • Difference • Source
xing194.152.164.456
View • Compare • Difference • Source
Stephan Borg218.214.1.1135
View • Compare • Difference • Source
xing62.116.40.724
View • Compare • Difference • Source
xing62.116.40.723
View • Compare • Difference • Source
xing62.116.40.722
View • Compare • Difference • Source