!! Tabbed Sections
This [JSPWikiStyle] allows to add tabbed sections to your wiki pages, similar to the ones used in edit or page-info mode. The formatting of the tabs can be customised in the jspwiki.css.
!! Usage
Surround all tabbed sections with a __%~%tabbedSection__ [JSPWikiStyle]. Next, start each tabbed section with a [JSPWikiStyle] prefixed with __''tab-''__ such as %'~%tab-~ThisIsMyFirstTab .. %~%.
You can only use alphanumeric characters and a dash in the name of your tabs (no other punctuations), the name of the tab may not start with a digit. (css classname restrictions)
When the page loads, only the first tabbed section will be visible. All other sections are hidden, until you click the corresponding tab.
{{{
%%tabbedSection
%%tab-ThisIsMyFirstTab
Some text inside the first tab.
%%
%%tab-ThisIsMyLastTab
Some other text inside the second tab.
%%
%%
}}}
!! Reality check:
%%tabbedSection
%%tab-ThisIsMyFirstTab
Some text inside the first tab.
%%
%%tab-ThisIsMyLastTab
Some other text inside the second tab.
%%
%%