I'm trying to get a short (5 second) pause in the following function and can't seem to get it to work. I've been trying to maybe use setTimeout but, can't get it to work.
[!]The AutoSavers![/!]![[2thumbsup] [2thumbsup] [2thumbsup]](/data/assets/smilies/2thumbsup.gif)
Code:
<script type="text/javascript">
function newBrowser()
{
var i=1;
for (i=1;i<=varNUM;i++)
{
window.open(varURL);
}
}
</script>
[!]The AutoSavers![/!]
![[2thumbsup] [2thumbsup] [2thumbsup]](/data/assets/smilies/2thumbsup.gif)