Thread: Banner Rotator
View Single Post
Old 2007-11-18, 08:29 AM   #15
Simon
That which does not kill us, will try, try again.
 
Simon's Avatar
 
Join Date: Aug 2003
Location: Conch Republic
Posts: 5,150
Send a message via ICQ to Simon Send a message via AIM to Simon Send a message via Yahoo to Simon
Quote:
Originally Posted by NY Jester View Post
I have a java script rotator..I know not the best thing but, is there a way to keep that script on my root web in a diurectory and have it called from the area that I want the banners to appear? Because just like HW's php script above you have to have each URL/banner url etc included into it.
Yes, you can keep all your Javascripts in a directory just for them, on the root of your site is fine. And yes, then you can call those scripts from anywhere else you like.

You can even have multiple copies of your banner rotator script in that directory, named, for example, banners-amateurs.js, banners-grannies.js and banners-teens.js -- each script with only the banners you want to use for that niche/category -- and then call just the banners you want by selecting the script that has them.

But please read my post #11 before you waste a lot of time going down that road.





.
__________________
"If you're happy and you know it, think again." -- Guru Pitka
Simon is offline   Reply With Quote