View Full Version : OPEN (NEW) WINDOW, then CLOSE (THIS) WINDOW
azaral
09-28-2004, 01:22 PM
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.
gigabites
09-28-2004, 10:18 PM
Put this hyperlink in Your popup window...
<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... :)
Powered by vBulletin® Version 4.2.2 Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.