I believe the format of the javascript open method should be:
<BODY
onUnload=window.open("exit.htm","","scrollbars=yes,width=250,height=400")>
Also, you don't need to put the <script> tags around the <body> tag
Dave Merritt
[EMAIL PROTECTED]
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Sunday, October 28, 2001 11:53 AM
To: [EMAIL PROTECTED]
Subject: off topic - javascript question
I want to have a window loaded when someone leaves my website.
does anyone know what is wrong with the following code?
Thanks!
<script>
<BODY onUnload=open("exit.htm", "scrollbars=yes,width=250, height=400")>
</script>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]