PDA

View Full Version : Open New Window, Close the Source Window


Khrysller
11-23-2003, 11:24 PM
Hello Dudies..., I am in a tempest of bytes :P trying to find out how to do this:

I have a link, when I click in this link a new window opens, and I need to close the 'source' window (the window that has the link).

my page is: pumpErS (http://pumpers.dance.to)

Thanks people :)

liorean
11-23-2003, 11:39 PM
It can be done, but you will be killing the user's back button and window history, so why do it? Besides, only iew allows it without asking the user, anyway.

As for doing it with asking the user; just use opener.close(); from the popup.