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

Tabs in pages

Discussion in 'XenForo Questions and Support' started by HenrikHansen, Jul 23, 2012.

  1. HenrikHansen

    HenrikHansen Well-Known Member

    Has anyone tried to arrange content at xenforo pages like at the profile page and knows how it can be done?

  2. ragtek

    ragtek Guest

  3. MagnusB

    MagnusB Well-Known Member

    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.
  4. HenrikHansen

    HenrikHansen Well-Known Member

    Thanks ragtek, the "li>" at the end of the first line in the code seems at bit mysterious to me :eek:
  5. ragtek

    ragtek Guest

    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..)
    <!-- 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>
    <!-- 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>
    that's the librabry used for the tabs: http://jquerytools.org/demos/tabs/index.html (there you'll find more infos:)

Share This Page