Click to See Complete Forum and Search --> : Opens new window when user closes current window


mkramesh
12-13-2002, 12:09 PM
I want to open a new window when user closes the current window.

I know the syntax to open a new window -->
window.open('1.asp').

but when i place this code on <body onUnload="window.open()">, it is getting fired even if user clicks on any link, or refresh the same page.

I want to open a new window only when user closes the current browser(IE) not on any other actions.

anyone know how to do it, please help.

mkramesh
12-13-2002, 01:53 PM
Thanks Dave.

I also spent lots of time browsing the NET to find out a solution, I Concluded that it is NOT POSSIBLE to do that.