Hi everybody,
I'm very new to this, so forgive me if i'm being a bit dense.
I'm using a script that randomly redirects to a page after a certain amount of time. This works great, but how do can I stop it from redirecting to a page more than once. Basically, I don't want it to repeat any pages (a tleast until it's been through them all once).
Sorry, if i'm not very clear - my brain's a bit frazzled at the moment!
This is the script:
<script type="text/javascript">
<!--
Array.prototype.random = function () {return this[Math.floor(Math.random() * this.length)]}
Date.ONE_SECOND = 1000;
url =
['page3.html',
'page4.html',
'page5.html',
'page6.html',
'page7.html',
'page8.html',]
setTimeout('location = url.random()', 30 * Date.ONE_SECOND)
// -->
</script>

