#1
  1. No Profile Picture
    Bugman_GB
    Guest
    Devshed Newbie (0 - 499 posts)
    What i am trying to do is create a page where the window.open will delay for 30 seconds before opening the popup.
    And also with the window.close will then close 15 seconds after the window pops up.
    Is there any help from anyone on this.
    For whatever reason i cant figure it out.
    Thankyou for you help
  2. #2
  3. No Profile Picture
    scollo
    Guest
    Devshed Newbie (0 - 499 posts)

    To creata a delay in JavaScript:

    setTimeout (string expression, int milliseconds);

    e.g.

    function pop() {
    //code goes here
    }

    setTimeout ("pop()", 30000);

Similar Threads

  1. Checking to see if pop up window has been closed
    By melior in forum HTML Programming
    Replies: 1
    Last Post: February 10th, 2004, 08:08 AM
  2. Replies: 0
    Last Post: September 9th, 2003, 02:13 PM
  3. Replies: 2
    Last Post: August 25th, 2003, 07:29 PM
  4. Replies: 2
    Last Post: July 17th, 2003, 08:32 AM
  5. Pass values from main window to pop up window
    By desiana in forum Java Help
    Replies: 1
    Last Post: November 9th, 2001, 07:25 AM

IMN logo majestic logo threadwatch logo seochat tools logo