Hi, On close of the main window, I want to popup a small window. The main window can be closed by the cross button on the right most side of the browser or by javascript window.close() or by ALT F4 key of the key board. How to catch this close event and pop up a new window. Regards Pashi.
Hello, I tried the code, but instead of poping a new window on unload, it is loading on load. So it is not working properly. Please Help. !! thanx Pashi
Hi Pashi <body onUnload="window.open( ' ', ' ', ' ' )"> but if you pop up advertising, better use <body onLoad="history.back()"> [ May 08, 2003: Message edited by: Christian Baron ]