PDA

View Full Version : How to highlight the Tab with this code?


Fready
01-28-2011, 04:43 AM
I am wanting to add a second nav Tabs under the nav bar.

I place this code:

<br /><br /><br />
<ul id="navtabs" class="navtabs floatcontainer">
<!-- Navbar Links -->
<li class="non-selected"><a class="navtab" href="yourURL">Tabname</a></li>
(repeat the above line for each one you need)
<!-- / Navbar Links -->
</ul>

Just above this code:
</vb:if>
</div>
</div><!-- closing div for above_body -->

which works fine, adding additional Tabs as a second Tab nav bar, but then when the tabs are clicked, they don't highlight as they should do, the same as the Top nav Tabs do.

I understand that there has to be a THIS_SCRIPT = 'search'"> to make the Tabs highlight when you are at the place of the tab, but how to do this I don't know.

Any help out there?

--------------- Added 1296197532 at 1296197532 ---------------

Also, if i want one of the Tabs to open in a new tab on my browser, what code and where do I need to add it?