Quote:
Originally Posted by NY Jester
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.
.