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

XF 1.2 How do I add tabs on xenForo pages

Discussion in 'Styling and Customization Questions' started by TheBigK, Dec 16, 2013.

  1. TheBigK

    TheBigK Well-Known Member

    I've searched for this on the forum, but haven't been able to find relevant tutorial/article/resource. Can someone quickly point me to a tutorial that tells me how to create tabs (like those appear on profile page) on any custom xenForo page?
    wickedstangs likes this.
  2. xf_phantom

    xf_phantom Well-Known Member

  3. TheBigK

    TheBigK Well-Known Member

    Alrighty - I've created tabs using :

    <ul id="ragtektabs" class="Tabs tabs" data-panes="#ragtek > li">
    <a href="foo">Tab1</a>
    <a href="foo2">Tab2</a>
    <a href="foo3">Tab3a>
    <ul id="ragtek">
    My Problem:

    In the content displayed in the first tab, I want to put a link to second and third tab, so that when user clicks on it; that tab opens. I tried <a href="foo2"</a> but it takes me to www.mydomain.com/foo2 . How do I link to the tab on an existing page?
  4. ForestForTrees

    ForestForTrees Well-Known Member

    Have you tried <a href="#foo2">text</a>? Or <a href="FullURL#foo2">text</a>?
  5. Hugilore111

    Hugilore111 Member

    how to correct?

Share This Page