View Single Post
Old 03-21-2002, 02:50 PM  
Evil Chris
OG
 
Evil Chris's Avatar
 
Industry Role:
Join Date: Dec 2001
Location: 3rd from the Sun
Posts: 13,235
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?
__________________


It PAYZE to post on GFY

chris at payze.com | Skype chriswrp

Last edited by Evil Chris; 03-21-2002 at 02:52 PM..
Evil Chris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote