%META:TOPICINFO{author="TWikiContributor" date="1416007601" format="1.1" version="3"}% %META:TOPICPARENT{name="TWikiVariables"}% #VarJQTABPANE ---+++ JQTABPANE -- start a JQuery tab pane * Create nice looking horizontal tab panes in TWiki topics. Write a sequence of =%JQTAB{"..."}%= and =%JQENDTAB%= pairs, and enclose them in =%JQTABPANE%= and =%JQENDTABPANE%=. Tab panes can be nested, e.g. within one tab you can add another tab pane. These variable are handled by the JQueryPlugin. * Syntax: =%JQTABPANE{ select="1" }% %JQTAB{"Tab 1"}% ... %JQENDTAB% %JQTAB{"Tab 2"}% ... %JQENDTAB% ... %JQENDTABPANE%= * Supported parameter: | *Parameter:* | *Description:* | *Default:* | | =select=""= | Select a tab pane, default is the first tab. | ="1"= | * Note: A tab can be selected with a =tab= URL parameter using =%JQTABPANE{ select="%URLPARAM{tab}%" }%= * Example: %BR% =%JQTABPANE%= %BR% =%JQTAB{"Tab 1"}%= %BR% =Tab 1 content...= %BR% =%JQENDTAB%= %BR% =%JQTAB{"Tab 2"}%= %BR% =Tab 2 content...= %BR% =%JQENDTAB%= %BR% =%JQENDTABPANE%= * Renders as: %JQTABPANE% %JQTAB{"Tab 1"}% Tab 1 content... %JQENDTAB% %JQTAB{"Tab 2"}% Tab 2 content... %JQENDTAB% %JQENDTABPANE% * Category: ApplicationsAndComponentsVariables, FormattingAndRenderingVariables * Related: [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarJQENDTAB][JQENDTAB]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarJQENDTABPANE][JQENDTABPANE]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarJQTAB][JQTAB]], JQueryPlugin