The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
nav selected button stance
I want to add links to some of my forums on the navbar, as categories. The thing I want to accomplish is that when I click on a forum link from the navbar, I want to have the "selected" class, changing the stance of the button for when browsing that specific forum.
Is there an IF I can add? ex: Code:
if $forumpage { <li><a class="navtab" href="http://forumlink">Forum name</a></li> else {<li><a class="selected" href="http://forumlink">Forum name</a></li> --------------- Added [DATE]1268638356[/DATE] at [TIME]1268638356[/TIME] --------------- no ideas ppl? |
#2
|
||||
|
||||
i have resolved the issue
Code:
<vb:if condition="$foruminfo[forumid] == 'x'"> <li class="selected"><a class="navtab" href="forum_link">Forum x</a></li> <vb:else /> <li><a class="navtab" href="forum_link">Software</a>Forum x</li> </vb:if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|