close() not working in Mac IE 5.2

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alan Little

    close() not working in Mac IE 5.2

    The window.close() method apparently does not work in Mac IE 5.2. I've used
    it with no problem in the "big 3" browsers on Mac and Windows, including
    Mac IE 5.0, but now in 5.2 it doesn't work. Has anyone else encountered
    this? Is there a fix or workaround available? Am I just missing something?
    Why is the sky blue? What's it all about, Alfie?

    --
    Alan Little
    Phorm PHP Form Processor

  • Grant Wagner

    #2
    Re: close() not working in Mac IE 5.2

    Alan Little wrote:
    [color=blue]
    > The window.close() method apparently does not work in Mac IE 5.2. I've used
    > it with no problem in the "big 3" browsers on Mac and Windows, including
    > Mac IE 5.0, but now in 5.2 it doesn't work. Has anyone else encountered
    > this? Is there a fix or workaround available? Am I just missing something?
    > Why is the sky blue? What's it all about, Alfie?[/color]

    How was the window you are trying to close opened? You can only close a window
    that has no history and (or?) was opened by JavaScript. It's possible Microsoft
    fixed a hole that allowed you to close a window you didn't open.

    Are you _sure_ the code you have is working as written in other browsers?

    --
    Grant Wagner <gwagner@agrico reunited.com>
    comp.lang.javas cript FAQ - http://jibbering.com/faq

    Comment

    • Alan Little

      #3
      Re: close() not working in Mac IE 5.2

      Carved in mystic runes upon the very living rock, the last words of
      Grant Wagner of comp.lang.javas cript make plain:
      [color=blue]
      > Alan Little wrote:
      >[color=green]
      >> The window.close() method apparently does not work in Mac IE 5.2.
      >> I've used it with no problem in the "big 3" browsers on Mac and
      >> Windows, including Mac IE 5.0, but now in 5.2 it doesn't work. Has
      >> anyone else encountered this? Is there a fix or workaround available?
      >> Am I just missing something? Why is the sky blue? What's it all
      >> about, Alfie?[/color]
      >
      > How was the window you are trying to close opened? You can only close
      > a window that has no history and (or?) was opened by JavaScript. It's
      > possible Microsoft fixed a hole that allowed you to close a window you
      > didn't open.[/color]

      It's a popup opened by code in the main page. It has no history (though
      that's never been a problem before, either)
      [color=blue]
      > Are you _sure_ the code you have is working as written in other
      > browsers?[/color]

      Sure. I've tested this very application in IE, NS and Opera on Windows,
      and IE and NS on OS9. In fact, I didn't even become aware of the problem
      until I upgraded my Mac to OSX/IE5.2 earlier this week.

      --
      Alan Little
      Phorm PHP Form Processor

      Comment

      Working...