The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Showing a script in a single section?
I'm wanting to add a javascript which is only viewable in specific section(s). What code should I use and in which template should I add it? Help is much appreciated.
|
#2
|
||||
|
||||
Code:
<vb:if condition="$forum[forumid] == 9"><script>alert('put your js here')</script></vb:if> |
#3
|
|||
|
|||
For some odd reason, it's not working .
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|