Click to See Complete Forum and Search --> : onUnload don't fire when ...
sebs
Jan 4th, 2001, 12:48 PM
... you close your window with the upper right X,
in MSIE it work, but dam Netscape!!
does somebody know how to execute something when the window is closing!
something that WORK WITH NETSCAPE!!
JoshT
Jan 4th, 2001, 01:58 PM
I would think from a user's perspective, you wouldn't want anything executing when you click the x to close the program.
Josh
pnj
Jan 4th, 2001, 06:07 PM
if you post your code, or what you are trying to do when the browser is closed it would help me help you.
sebs
Jan 5th, 2001, 07:48 AM
it's because one of my page there's a list of hour(from 7AM to 7PM)
and you can reserve hour to play(it's a golf project),and
when someone is editing his hour,i have to lock it so
that anybody else can edit it at the same time,and when he
exit this form by pressing ok or cancel i pop up a little
page that unlock the field(row),but the thing is if the user
close the window with the X,in MSIE it work my little page
pop up and unlock my row,but in NN it does not pop up a new window!!
<body bgcolor="#29387b" marginwidth=0 marginheight=0 leftmargin=0 topmargin=0 onUnload="window.open('unLock.asp','_blank','width=100,height=100,menubar=0,location=0,toolbar=0,personalbar=0 ,status=0,scrollbars=0');">
pnj
Jan 5th, 2001, 12:24 PM
umm....
I'll have to look into this one.
the Unload event should work but as you know it doesn't.
let me look around for a bit
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.