The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Hey all,
I'm trying to make it so if a vBulletin Option is true, then a tab will become visible in one of my .js files. However, I'm having some trouble finding or creating the right tag that will do what I want that would work in JavaScript. If anyone knows how to call vBulletin Options in a JavaScript file, please let me know. Thanks in advance, Mark |
|
#2
|
|||
|
|||
|
I think the easiest thing to do is to edit a template to create a javascript variable. You can see where this is already done in the headinclude template for things like SESSIONURL.
|
| Благодарность от: | ||
| Mko | ||
|
#3
|
||||
|
||||
|
Quote:
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|