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

Help with Navigation bar active tab.

Ive just added two tabs to the navigation bar on my forums using this code:

<!-- mytab -->
        <li class="navTab PopupClosed"><a href="LINK" class="navLink">TEXT</a></li>
        <li class="navTab PopupClosed"><a href="LINK" class="navLink">TEXT</a></li>
But when i click on them it doesn't select them. For example when you click Forums at the top on here it changes into another colour, so it clearly shows its selected. How can i do this with that code above? It doesnt naturally do it.



LINK has to be a page, so it "can" be selected.
You can then have a route, and have a selected tab for that route.
This is the code im using fully

        <!-- mytab -->
        <li class="navTab PopupClosed"><a href="{xen:link pages/vote}" class="navLink">Vote For Us!</a></li>
        <li class="navTab PopupClosed"><a href="{xen:link pages/servers}" class="navLink">Servers & Chat</a></li>
But that doesnt make it show as selected... it just keeps Forums selected.