Log in

View Full Version : How do you make headers change


ricoracing
08-10-2004, 03:59 PM
If you go to this page www.exriders.com/vB/ you'll see 2 animated gif logos under the heading exriders.com

NOw if you refresh the page the logos will change. How can i get advertisers for my sites logo's to change between refreshes and that logo's link go to the correct page??

well this forum will not except the proper address. /v(double B) needs to be after exriders.com, it keeps forcing it to only use VB??


I guess I basically need to know how to make a header change pictures and when the picture changes so does the link to the appropriate webpage.

Hope this makes sense. :speechless:

Thank you for any info you can give me.

ricoracing
08-11-2004, 11:30 AM
hello..

Michael Morris
08-11-2004, 07:10 PM
I'm not quite sure of exactly what you're needing but can offer this pointer

If you're wanting the ads to refresh on a timed interval, you'll have to use javascript and put it in your $heading template. You should be able to find such a loader script online.

Now if you simply want a new add on each page load that can be done by generating a random number and using it to select ads, though that may not work for best.

On my own site we used to run PostNuke, which has an adbanner generator. We still use it - it's the only remnant of PostPuke we use. It counts how many times each ad is served up - this is important if you do like us and sell ads by a set # of exposures.

Anyway, IIRC there are a couple of ad scripts floating around here. Search for the phrase "ad banner" since searching for "ad" isn't allowed (it's less than 3 characters).

SVTBlackLight01
08-12-2004, 02:46 AM
You could use something simlar to what I used on my old site to rotate banners, which is php based and randomly goes through a list of basically any text (including HTML) every time the page is refreshed. Hit me with PM if you want all the details.

It's very simple, though, and does not provide any sort of tracking.