Results 1 to 2 of 2

Thread: OPEN (NEW) WINDOW, then CLOSE (THIS) WINDOW

  1. #1
    Join Date
    Sep 2004
    Location
    Maryland, USA
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default OPEN (NEW) WINDOW, then CLOSE (THIS) WINDOW

    I'm using a script that opens certain links in a new (popup) window but I'd like to have the window, that does this, close after doing so. anybody got a script that can do that?

    bobby g.

  2. #2
    Join Date
    Sep 2004
    Location
    Indonesia
    Posts
    69
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Put this hyperlink in Your popup window...
    Code:
    <a href=# onClick="window.close()">close window</a>
    If You want the popup window to close automatically after doing something (javascript maybe...), add window.close(); at the end of Your script...

Bookmarks

Posting Permissions

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