XF 1.2 How do I add tabs on xenForo pages

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?
 
Alrighty - I've created tabs using :

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

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?
 
Back
Top Bottom