Results 1 to 5 of 5

Thread: onUnload don't fire when ...

  1. #1

    Thread Starter
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606
    ... 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!!



  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    I would think from a user's perspective, you wouldn't want anything executing when you click the x to close the program.

    Josh

  3. #3
    Fanatic Member
    Join Date
    Jun 2000
    Posts
    537
    if you post your code, or what you are trying to do when the browser is closed it would help me help you.
    pnj

  4. #4

    Thread Starter
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606
    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,per sonalbar=0,status=0,scrollbars=0');">

  5. #5
    Fanatic Member
    Join Date
    Jun 2000
    Posts
    537
    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
    pnj

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width