SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jun 2003
    Location
    sydney
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    check if window closed on mac ie5

    Hi I need to check if a window opened by window.open has been closed by the user.

    For some reason the window.closed property always evaluates to false, even if the window has been closed.

    The code works fine on PC IE 5 and NS 6 also on NS 4.7 on the mac(OS 9.1) but on the IE 5.1 it doesnt work.

    Is this a known issue or is there a workaround.

    The code:


    var authorWin = null;
    if(authorWin && authorWin.open && !authorWin.closed){
    authorWin.focus();
    }else{
    authorWin = window.open('admin/admin.do?method=getAdmin','adWindow','width=796,height=570,resizable,location,menubar,scrollbars,dependent,status,toolbar');
    authorWin.focus();
    }

  2. #2
    SitePoint Member
    Join Date
    Sep 2003
    Location
    india
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    check if window closed on mac ie5

    Hi,

    did u get any responses or solution to the above problem as i am also facing the same.

    Thanks

    Anup Joshi


Bookmarks

Posting Permissions

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