Log in

View Full Version : Navigation page indicator


KTBleeding
08-31-2007, 05:35 PM
I'm a bit rusty with vBulletin.. and I've come to a point where I'm stumped.

I would like to know the best way to get an indication of what page I'm on in the navigation. I've created a separate class to be applied to the tab when you're on that page, but I can't seem to get it to work correctly.

An example of this is how the default style here on .org works. You get the little arrow icon in your navigation link according to whether or not you're in the forums, articles, mods, etc.

The navigation code is as simple as this:

<ul id="navigation">
<li><a href="#">Home Page</a></li>
<li class="hlight"><a href="index.php">Forums</a></li>
<li><a href="calendar.php">Calendar</a></li>
<li><a href="memberlist.php">Members</a></li>
</ul>
<!-- /navigation -->


Where class="hlight" is what I need to be applied to the nav item you clicked on.

Anybody have any ideas?