View Single Post
Old 07-06-2013, 07:19 AM  
lbazso
Confirmed User
 
lbazso's Avatar
 
Industry Role:
Join Date: Jan 2012
Location: Europe
Posts: 470
Quote:
Originally Posted by lbazso View Post
I am still looking for a script. If anyone can help, it would be greatly appreciated. Thanks!
Never mind. I have found one and it works:

Code:
<script type="text/javascript">

var urls = new Array("http://www.url1.com/", "http://www.url2.com/");

function redirect()
{
window.location = urls[Math.floor(urls.length*Math.random())];
}

var temp = setInterval("redirect()", 1000);

</script>
lbazso is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook