Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 09 Jan 2009, 17:18
pein87's Avatar
pein87 pein87 is offline
 
Join Date: Sep 2008
conditional question

I have a question can you change a banner based off of the scripts name?

I havent tried it yet but lets say i have a an arcade mod and wont to make the banner diffrent only on that page could.
<if condition="THIS_SCRIPT == arcade">
<!-- my banner here -->
</if>
or would I need to make a new plugin and change it out in the arcade templates?
Reply With Quote
  #2  
Old 09 Jan 2009, 17:23
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Yes, you can use THIS_SCRIPT in a condition, like you did, to change things based on the page.
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #3  
Old 09 Jan 2009, 17:27
pein87's Avatar
pein87 pein87 is offline
 
Join Date: Sep 2008
Thanks very much Lynne your a life saver thought i would ask before I did some under the hood tinkering.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 12:46.

Layout Options | Width: Wide Color: