I have this script that I found online 6 or 7 years ago. I was wondering if anyone here might be able to make it rotate sequentially? Seems to be totally random right now. Alternately perhaps someone could suggest another non commercial ad free rotator?
______________________________________________________________
<script language="">
var currentdate = 0
var speed = 0;
link = new Array(3)
link[0] = 'http://google.com'
link[1] = 'http://yahoo.com'
link[2] = 'http://bleepingcomputer.com'
window.setTimeout("reload()", speed);
function reload()
{
currentdate = new Date();
adcore = Math.floor(((currentdate.getSeconds())/60)
*link.length);
window.location = link[adcore];
}
//-->
</script>
___________________________________________________________
Thank you for your time,
Claude
This post has been edited by myeasybucks: 10 January 2010 - 11:22 AM

Help


Back to top









