The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Global Variable
I am trying to create a tab menu system in v3.8 and would like to know is there any way to set a global variable that can be used throughout vb.
For example I have tabs numbered 1 to 8. Each tab has a sub menu. When a user clicks a tab on the menu it becomes highlighted and a page is displayed. If the user goes to another page (via the tabs sub menu) the tab is still highlighted. I know using the THIS_SCRIPT method can ascertain the page and then set the active tab but I have far to many variations where this won't work plus many pages of addons don't have a THIS_SCRIPT and I don't want to edit the php files. So is there some way to pass the variable of a tab number to make it the active one from page to page? - thanks! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|