Domain Social Forums

Full Version: Need a good banner rotation script
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Does anyone know of a good banner rotation script? There are literally hundreds of them out there, and I am not sure which is the best.

Any insight would be appreciated

Thanks

Zach
If you want accurate information such as impressions per month and how many clicks each ad recieves, I would try phpadnews. If you want just a quick code then this will do the trick.

Code:
<script type="text/javascript">

/*
Rotating Ads per Page Load
by iFusion - [url=http://forum.ifcode.com](OFFLINE) Board Offline[/url]
*/

//Define the ads' URL and Image below

var ad = []
ad[0]=["URL HERE" , "IMAGE URL HERE"]
ad[1]=["URL HERE" , "IMAGE URL HERE"]
ad[2]=["URL HERE" , "IMAGE URL HERE"]


//Do not edit anything below this line

x = Math.floor(Math.random()*ad.length)

document.write("<center>")
document.write("<a href='" + ad[x][0] + "'>")
document.write("<img src='" + ad[x][1] + "' />")
document.write("</a>")
document.write("</center>")

</script>

Hope that helped! Smile
I have only played around with it a little bit, from what I have seen though, PHPADNEWS is by far and away the most popular and most highly recommended. Not to mention the price is right. Smile
triumph Wrote:I have only played around with it a little bit, from what I have seen though, PHPADNEWS is by far and away the most popular and most highly recommended. Not to mention the price is right. Smile

You have to pay for phpadnews? Somehow I don't remember having to do that..