• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Tabs in pages

MagnusB

Well-known member
#3
I think xF expects those to be in a certain order. I tried to rearrange them to some degree, but the wrong content loaded in the wrong tabs for some reason.
 
R

ragtek

Guest
#5
it's the selector
in my case:
ragtek > li
it means
search for an element with the id ragtek and inside of this search for li elements
(you can also use div,span, etc..)
Code:
<!-- the tabs -->
<ul class="tabs">
    <li><a href="#">Tab 1</a></li>
    <li><a href="#">Tab 2</a></li>
    <li><a href="#">Tab 3</a></li>
</ul>
 
<!-- tab "panes" -->
<div class="panes">
    <div>First tab content. Tab contents are called "panes"</div>
    <div>Second tab content</div>
    <div>Third tab content</div>
</div>
that's the librabry used for the tabs: http://jquerytools.org/demos/tabs/index.html (there you'll find more infos:)