Results 1 to 3 of 3

Thread: Pop Up Window on Timer

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2001
    Posts
    414

    Pop Up Window on Timer

    How can you have a pop up open 10 seconds after the user opens a web page?

  2. #2
    Hyperactive Member progressive's Avatar
    Join Date
    Sep 2001
    Location
    Manchester, UK
    Posts
    404
    Code:
    <script>
    function windowPop(){
      window.open("popup.html","","");
    }
    
    setTimeout("windowPop()",10000);
    </script>
    that should do it!
    the 10000 is milliseconds.
    1 second = 1000 milliseconds
    1/10 second = 100 milliseconds .......


  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    May 2001
    Posts
    414
    Thank you, works great1

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