Click to See Complete Forum and Search --> : closing exact window


l0g0ut
11-28-2003, 09:19 AM
Ok i am a newbie for this stuff and i will apritiate some help on my problem that i have encountered.
When i open a page i put a script to open some other popup window that will have full size :
i have done that but i will like also the previous window that opened the newwindow to be closed immidiatly. How to do that?

l0g0ut

dina
11-28-2003, 09:41 AM
Hi,

try
opener.close or
window.opener.close

dina

l0g0ut
11-28-2003, 02:04 PM
Dina i have tried with that commands you have supplyed me but it's not working it still doesn't close the window . Is there a way ?

l0g0ut
11-28-2003, 02:20 PM
Dina
Ok i managed to close it by opener.close and self.close but it brings me a message from the browser if i want to close the window . Can i make it without showing me message ??

Thanks.

96turnerri
11-29-2003, 07:11 AM
ie wont do that when the files are are remote only local, but most other browsers will, to stop sites basically taking control kinda thing of you browsers

dina
12-01-2003, 03:22 AM
Hi lOgOut,

sorry, I worked with IIS and IE, so I wasn't aware of this problem.