Hi, I'm looking for Free banner rotators, that are user friendly, I have run into, a few that havn't been very user friendly could you direct me to a few that are. Thanks
I just threw this quickly together, and it should work. I haven't tested it but, it should work for your needs. Save the code below as rotator.js function randInt(min,max) { var div = (max - min) + 1 var randNum = Math.random() for (var i = 0; i <= div - 1; i++) { if (randNum >= i / div && randNum < (i+1) / div) {return i + min} } } var abc = randInt(1,3); if (abc == 1) { document.write("<\"ENTER CODE #1 HERE\">"); } if (abc == 2) { document.write("<\"ENTER CODE #2 HERE\">"); } if (abc == 3) { document.write("<\"ENTER CODE #3 HERE\">"); } Code (markup): When you want to use the banners in certain areas use this: <script language="JavaScript" type="text/javascript" src="rotator.js"> Code (markup): Its very easy to add more banners should you wish to do so. Disclaimer: By using this script, you accept that I do not take any liability, for anything happening to your website(s)
Maybe this few information can help you http://www.cosmicscripts.com/demos/banner.shtml http://www.hscripts.com/scripts/php/bannerRotator.php http://www.focalmedia.net/htmlrotate.html