Domain Social Forums
Need a good banner rotation script - Printable Version

+- Domain Social Forums (http://www.domainsocial.com)
+-- Forum: Development Discussions (http://www.domainsocial.com/Forum-Development-Discussions)
+--- Forum: Domain Development (http://www.domainsocial.com/Forum-Domain-Development)
+--- Thread: Need a good banner rotation script (/Thread-Need-a-good-banner-rotation-script)



Need a good banner rotation script - zach - 10-23-2006

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


Need a good banner rotation script - -thoma- - 10-23-2006

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


Need a good banner rotation script - triumph - 10-23-2006

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


Need a good banner rotation script - -thoma- - 10-24-2006

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..