![]() |
Can Anyone Recommend A Good Banner Rotator?
I'm not looking for anything that complex, just something I can throw on some of my sites and use for different sized banners..
Thanks DH:glugglug |
Java Script
|
Cut and paste this script into the HEAD of your document:
<script language="JavaScript"> <!-- Begin hiding script from older browsers // Replace the images inside the double-quotes to your own images // You may have any number of images adImages = new Array("image1.jpg","image2.jpg","image3.jpg","imag e4.jpg","image5.jpg","image6.jpg") // Replace the quotes to inside the double-quotes to your own quotes // You may have any number of quotes but they must equal the number of images that rotate quote = new Array("This is Image 1","This is Image 2","This is Image 3","This is Image 4","This is Image 5","This is Image 6") // Please remove this lineand the double-slashes at the beginning of the next line to add links to the rotating images // adURL = new Array ("www.zdnet/developer.com","www.zdnet/developer.com","www.zdnet/developer.com","www.zdnet/developer.com","www.zdnet/developer.com","www.zdnet/developer.com") // Please remove this line to add links to the rotating images thisAd = 0 imgCt = adImages.length quoteCt = quote.length function rotate() { if (document.images) { if (document.cycle.complete) { thisAd++ if (thisAd == imgCt && thisAd == quoteCt) { thisAd = 0 } document.cycle.src = adImages[thisAd]; window.defaultStatus = quote[thisAd]; } // This sets the interval to which the images and quotes are rotated. 1000 equals 1 second setTimeout("rotate()", 3500) } } // Please remove this lineand the double-slashes at the beginning of the next line to add links to the rotating images // function rotateLink() { window.parent.location.href = "http://" + adURL[thisAd] } // Please remove this line to add links to the rotating images // End hiding script from older browsers --> </script> Cut and paste this into the BODY of your document: <!-- Remember to add this to the body tag --> <body onLoad="rotate()"> <!-- Add an anchor tag to the image to call the rotateLink function of the script for links --> <p align="center"><img src="image1.jpg" width="480" height="60" border="0" name="cycle"></p> |
Here's one that wasn't stolen from zdnet.... :)
<script language=JavaScript> <!-- Begin var how_many_ads = 3; var now = new Date() var sec = now.getSeconds() var ad = sec % how_many_ads; ad +=1; if (ad==1) { txt="Banner 1 alt text"; url="http://www.where-ever.com"; alt="alt text"; banner="http://www.banner-url.com"; width="468"; height="60"; } if (ad==2) { txt="Banner 2 text"; url="http://where-ever.com/"; alt="alt text"; banner="http://banner-2-url.com"; width="468"; height="60"; } if (ad==3) { txt="Banner 3 text link"; url="http://www.where-ever-to.com"; alt="alt text"; banner="http://banner-3-url.com"; width="468"; height="60"; } document.write('<center>'); document.write('<a href="' + url + '" target="_top">'); document.write('<img src="' + banner + '" width='); document.write(width + ' height=' + height + ' '); document.write('alt="' + alt + '" border=0><br>'); document.write('<small>' + txt + '</small></a>'); document.write('</center>'); // End --> </SCRIPT> hey.... not posting? :warning |
Soon in a spam thread near you (i mean my 1 time program announcement) you will find a banner rotator with a pretty cool twist, it will allow you to target banners and text links depending on your visitor's search engine keywords used to access your site, remotely web admin panel for hosted text links, search terms grouping, upsell links tracking and lots of more cool features, stay tuned! :Graucho
|
I want one of those.. :thumbsup
|
Quote:
|
typo.. I misread the search part..
|
oh ok :)
|
|
|
I'll second the Adcycle nomination.
Also, check out AdvertPro. It might be better for you depending on the number of banners you're serving... How many banners do you plan on serving per month? Will it be a dedicated server? Fro |
Do any of these allow you to include HTML instead of a banner?
|
Mariuz will rotate your banners for $4.25 and Hour
|
Quote:
plus the html will be hosted on our server, you use a single code for all sites or pages, and you edit them from our admin panel, it rotates based on search keywords or referrals :) |
| All times are GMT -7. The time now is 10:37 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123