Results 1 to 2 of 2

Thread: Is it possible to do 2....

  1. #1

    Thread Starter
    PowerPoster eiSecure's Avatar
    Join Date
    Jul 2000
    Location
    Texas
    Posts
    2,209
    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>

  2. #2
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    try this:

    Code:
    
    <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>
    Mark
    -------------------

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width