History of BitTabs

Differences from version 2 to 8



@@ -1,34 +1,18 @@

-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.
+!Tabs in your templates
+To use these degradable javascript tabs in your templates, just use the following code:
+{CODE}
+{jstabs}
+ {jstab title="title of first tab"}
+ <p>add some content here</p>
+ {/jstab}
 
-__note__: this feature is only available in release_clyde
-
-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()}
-&lt;div id=&quot;my-tab-system&quot; class=&quot;tabsystem&quot;&gt;&lt;!-- start .tabsystem --&gt;
-
- &lt;div class=&quot;tabpage tdefault&quot;&gt; &lt;!-- start default tab (this page is open when loading page) --&gt;
- &lt;h4&gt;name of tab 1&lt;/h4&gt; &lt;!-- this could be any &lt;h?&gt; but we should use &lt;h4&gt; since it's unused --&gt;
- &lt;p&gt;add some content here&lt;/p&gt; &lt;!-- this can be any content --&gt;
- &lt;/div&gt; &lt;!-- end .tabpage --&gt;
-
- &lt;div class=&quot;tabpage&quot;&gt; &lt;!-- start second tabpage --&gt;
- &lt;h4&gt;name of tab 2&lt;/h4&gt;
- &lt;p&gt;add some content here&lt;/p&gt;
- &lt;/div&gt; &lt;!-- end .tabpage --&gt;
-
- &lt;div class=&quot;tabpage&quot;&gt; &lt;!-- start third tabpage --&gt;
- &lt;h4&gt;name of tab 3&lt;/h4&gt;
- &lt;p&gt;add some content here&lt;/p&gt;
- &lt;/div&gt; &lt;!-- end .tabpage --&gt;
-
-&lt;/div&gt; &lt;!-- end .tabsystem --&gt;
-{CODE}
+ {jstab title="title of second tab"}
+ <p>add some content here</p>
+ {/jstab}
+{jstabs}
+{/CODE}
 
-this is the result using the above code
-(the html comments were removed since they interfere with the js script)
-{img src=/img/wiki_up//tabs.gif}
+!!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