Open new window 'on close'

liunx

Guest
Can you help?<br />
<br />
I want a new window to open up when someone closes the window they are on (I mean when they close the whole browser by clicking the X button in the corner - not from a 'close window' button on the page!). Is this something that can be done within Dreamweaver or is it a bit of javascript that needs to be inserted?<br />
<br />
All the bits of script I've come across so far open the 'new browser window' whenever it changes page inside the browser window - I only want the new window to appear when the current browser is closed down... knowwhat I mean...?<br />
<br />
Thanks<br />
<br />
Rob<!--content-->you can probably do a javascript OnUnload thing in your BODY tag.<br />
post your question in the javascript area.<!--content-->Continued in: <!-- m --><a class="postlink" href="http://www.htmlforums.com/showthread.php?s=&threadid=22776">http://www.htmlforums.com/showthread.ph ... adid=22776</a><!-- m --><!--content-->
 
Back
Top