PDA

Click to See Complete Forum and Search --> : Is it possible to do 2....


eiSecure
Jul 28th, 2000, 03:47 PM
Hi
I was just wondering if it was possible to do 2 redirections in JavaScript.
This is what I have so far, but it gives me an error when I run it.

[code]
<SCRIPT LANGUAGE="JavaScript">
setTimeout("top.location.href = 'http://www.geocities.com/yangy_cyetek/Secure-It.zip'",0);
setTimeout("top.location.href = 'http://www.eisecure.com/thankyou.html'",0);
</SCRIPT>

Mark Sreeves
Jul 31st, 2000, 09:40 AM
try this:




<SCRIPT LANGUAGE="JavaScript">
setTimeout("parent.frames('top').location = 'http://www.geocities.com/yangy_cyetek/Secure-It.zip'",3000);
setTimeout("parent.frames('top').location = 'http://www.eisecure.com/thankyou.html'",3000);
</SCRIPT>