Announcement

Collapse
No announcement yet.

Condition for one script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Condition for one script

    Hi,

    What if I want something to appear in the navbar, but only for a specific page?

    I remember someone did something like <if condition="THIS SCRIPT=blah blah"> but I don't remember exactly what it is. Can someone help?

    Thanks

  • #2
    Depends on the page but:

    <if condition="THIS_SCRIPT == 'scriptname'">
    Your stuff here
    </if>
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment

    Loading...
    Working...
    X