PDA

View Full Version : Sponsor ads


everglade
02-10-2001, 07:52 AM
The launch of my new website is imminent but I ahve this question regarding the small sponsor ads that appear on the pages...

owing to the size of the site (approx 560 pages) can anyone suggest the best way to 'maintain' the sponsor ads.....in that assume there are 4 sections each with 2 sponsor ads in the top 2 corners, the sponsor ads are static (ie none rotating).....and after say 3 months if I was wanting to change one of the sponsor ads whats the most efficient way to make this change to over 10 pages? You can obviously set all the images to link to a single image file that will then change them all when updated, but this 'image' can't have any 'href' properties attached being just a GIF or JPEG. So how do I change them all quickly and replace them all with a new image with new 'href' properties?

Is it something to do with the banner rotation scripts that seem to be abundant now?

If someone can suggest someway round the task of manually going through all 100 or more pages every quarter and attaching a URL to the images I would be grateful!!

Dave Swift
02-10-2001, 01:57 PM
You could save your banner as a .js file.
Then, on the pages where you want your banners to go, you put:
<script language="Javascript" src="http://www.yoursite.com/banner.js"></script>
That way, when you change your banners, you just change the .js file.
Hope that helps, if not reply again and I'll explain better!

Jason
02-10-2001, 05:20 PM
You can use SSI in the banner space, and keep the banner in a text file. What Dave said is acceptable too though :D