I was wondering if it would be possible to change the code of this script to miliseconds so more then 60 banners can be rotated (see script bellow).
<!-- Banner Ads Rotation Script -->
<!-- The JavaScript Source!!
JavaScript Source: Free JavaScripts, Tutorials, Example Code, Reference, Resources, and Help -->
<!-- Adapted for
www.thebookforum.com by Darren Lewis-->
<!-- Begin
var how_many_ads = 2;
var now = new Date()
var sec =
now.getSeconds()
var ad =
sec % how_many_ads;
ad +=1;
if (ad==1) {
url="http://www.example1.htm";
alt="Example";
banner="http://www.example.com/example.gif";
width="468";
height="60";
}
if (ad==2) {
url="http://www.example1.htm";
alt="Example";
banner="http://www.example.com/example.gif";
width="468";
height="60";
}
// Output HTML code
document.write('<center>');
document.write('<a href=\"' + url + '\" target=\"_blank\">');
document.write('<img src=\"' + banner + '\" width=')
document.write(width + ' height=' + height + ' ');
document.write('alt=\"' + alt + '\" border=0></a>');
document.write('</center>');
// End -->