The Tabs macros are similar to deck and card macros, but were written as a more suitable for wikis.sun.com.
Features:
- Tab functionality - doh!

- Support for printing, word and pdf exports
- Unobtrusive JavaScript
Usage:
The macro must always be used as group of tab macros nested in a single pair of tabs macros.
{tabs}
{tab:title=Title of tab #1}
Content of tab #1 in _wiki_ format, including other macros.
{tab}
{tab:title=Title of tab #2}
Content of tab #2 in _wiki_ format, including other macros.
{tab}
{tabs}
This will render as:
Title of tab #1
Content of tab #1 in wiki format, including other macros.
Title of tab #2
Content of tab #2 in wiki format, including other macros.
Parameters
While the tabs macro doesn't have any parameters, the following parameters can be used with the tab macro:
| Parameter Name | Required | Default Value | Notes |
|---|---|---|---|
| title | |
- | Tab title |
| id | |
derived from title | Id of the macro (used in URI - http://wiki.com/display/space/page#tab:>>>>tab-id<<<<). If not defined by user, an id will be generated based on the title. The tab id must be unique within the current html page or else some functionality won't work properly. |
Comments (6)
Mar 04, 2009
sueweberatsun says:
Any suggestions for how to do nested tabbing? If tabs are implemented on a page...Any suggestions for how to do nested tabbing? If tabs are implemented on a page, and tabs are then implemented on a child, the tabs get pulled into the parent tabs. It gets really messy--- too many tabs.
It would really be nice to be able to do this.
Mar 16, 2009
IgorMinar says:
Tab nesting is not currently supported. I tried to implement it, but the UI star...Tab nesting is not currently supported. I tried to implement it, but the UI started to look pretty messy.
I hope that you can get by without nested tabs. I can't really imagine too many cases where it would be useful to have them. If you think you need them, maybe you are trying to put too much content on one page.
/i
Apr 15, 2009
Mark.Dickson.Taylor says:
Is there a way to do a toc of each tab's h2 and h3 inside each tab and for only ...Is there a way to do a toc of each tab's h2 and h3 inside each tab and for only that tab?
Apr 15, 2009
IgorMinar says:
I don't thinks so. If you need these TOCs, then you used use individual pages in...I don't thinks so. If you need these TOCs, then you used use individual pages instead of tabs for your content.
Jul 02
risonanza says:
I've made a mistake.... tried to add a nested Tab within another.. as a conseque...I've made a mistake.... tried to add a nested Tab within another.. as a consequence the site is freeze and I'm not able to access it anymore.
What's the way to restore it? Tnks
Jul 02
IgorMinar says:
What's the address of the page? Email me if you don't want to share it publicly.What's the address of the page? Email me if you don't want to share it publicly.