The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
tab2 class
Hii
I wanted to know how are the tabs on this site get selected when we are viewing a page. Like for example I am viewing "Forums" right now and it is highlighted in the tabbed menu. I see that the active page class changes to .tab2 from .tab. How is this done?? Thanks |
#2
|
||||
|
||||
Perhaps a conditional based on forumids. You can't do it about THIS_SCRIPT cuz those are used throughout the tabs, so you'd have to base it on the forumids. (Or, in the case of "Forums" you would do it also if THIS_SCRIPT is the index)
|
#3
|
||||
|
||||
There should some proper way, as I want to do it for the whole site (for all links/subpages in my navbar). I am trying since long but cannot find a non-javascript solution.
Here is another example site that adds class="selected" in the current page. http://depkac.com/ --------------- Added [DATE]1240167671[/DATE] at [TIME]1240167671[/TIME] --------------- okay i got it working with THIS_SCRIPT. Its working good. Is there any conditional that would take care of sub-pages too? Like say misc.php?do=bbcode thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|