#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2003
    Posts
    2
    Rep Power
    0

    JavaScript PopWindow Quastion


    Hi

    im new to Javascript

    i want a popup with a src in it to open when a page loads and that it opens invisable if posible or behaind the orginal window and that it closes efter 3-10 sec.


    Is this posible ?
    and can somebody help me with writing this code
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    249
    Rep Power
    11
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2003
    Posts
    2
    Rep Power
    0
    yes thanks for this but i need one more thing i need it to close automaticly.. efter few secunds
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    249
    Rep Power
    11
    Will have to write tool for that. Use this:

    setTimeout('win.close()', numsecs * 1000)

    win is the name of the window or if yo u are in it use self.close()

    http://galileo.spaceports.com/~ibidris/
    Last edited by ibidris2003; August 10th, 2003 at 12:17 PM.

IMN logo majestic logo threadwatch logo seochat tools logo