Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Include Page
Styles for FSS examples
Styles for FSS examples
Section
Column
Include Page
FSS advanced layout examples navigation
FSS advanced layout examples navigation
Include Page
FSS Links Panel
FSS Links Panel
Column

Tabs

The "tabs" classes will convert an unordered list into a set of horizontal tabs. The implementor must create the content divs and programmatically show/hide the divs in response to use input, as well as programmatically move the fl-tabs-active class on the currently active tab. The examples on this page are not functional in that sense, and only show one content pane.

Centered Tabs

HTML
<div class="tabs-demos">
<div class="fl-container-600 fl-centered">
    <ul class="fl-tabs">
        <li class="fl-tabs-active"><a href="#_bottom">Active Tab</a></li>
        <li><a href="#_bottom">Tab #2</a></li>
        <li><a href="#_bottom">Tab #3</a></li>
    </ul>
    <div class="fl-tabs-content"> 
        Content
    </div>
</div>
</div>

The mark-up and classes used to produce this layout:

Code Block
html
html
<div class="fl-container-600 fl-centered">
    <ul class="fl-tabs">
        <li class="fl-tabs-active"><a href="#_bottom">Active Tab</a></li>
        <li><a href="#_bottom">Tab #2</a></li>
        <li><a href="#_bottom">Tab #3</a></li>
    </ul>
    <div class="fl-tabs-content"> 
        Content
    </div>
</div>

Left-Aligned Tabs

HTML
<div class="tabs-demos">
<div class="fl-container-600 fl-centered">
    <ul class="fl-tabs fl-tabs-left">
        <li><a href="#_bottom">Tab #1</a></li>
        <li class="fl-tabs-active"><a href="#_bottom">Active Tab</a></li>
        <li><a href="#_bottom">Tab #3</a></li>
    </ul>
    <div class="fl-tabs-content"> 
        Content
    </div>
</div>
</div>

The mark-up and classes used to produce this layout:

Code Block
html
html
<div class="fl-container-600 fl-centered">
    <ul class="fl-tabs fl-tabs-left">
        <li><a href="#_bottom">Tab #1</a></li>
        <li class="fl-tabs-active"><a href="#_bottom">Active Tab</a></li>
        <li><a href="#_bottom">Tab #3</a></li>
    </ul>
    <div class="fl-tabs-content"> 
        Content
    </div>
</div>

Right-Aligned Tabs

HTML
<div class="tabs-demos">
<div class="fl-container-600 fl-centered">
    <ul class="fl-tabs fl-tabs-right">
        <li><a href="#_bottom">Tab #1</a></li>
        <li><a href="#_bottom">Tab #2</a></li>
        <li class="fl-tabs-active"><a href="#_bottom">Active Tab</a></li>
    </ul>
    <div class="fl-tabs-content"> 
        Content
    </div>
</div>
</div>

The mark-up and classes used to produce this layout:

Code Block
html
html
<div class="fl-container-600 fl-centered">
    <ul class="fl-tabs fl-tabs-right">
        <li><a href="#_bottom">Tab #1</a></li>
        <li><a href="#_bottom">Tab #2</a></li>
        <li class="fl-tabs-active"><a href="#_bottom">Active Tab</a></li>
    </ul>
    <div class="fl-tabs-content"> 
        Content
    </div>
</div>