By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,287 Members | 1,668 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,287 IT Pros & Developers. It's quick & easy.

close() not working in Mac IE 5.2

P: n/a
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
http://www.phorm.com/
Jul 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Alan Little wrote:
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?


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 <gw*****@agricoreunited.com>
comp.lang.javascript FAQ - http://jibbering.com/faq

Jul 23 '05 #2

P: n/a
Carved in mystic runes upon the very living rock, the last words of
Grant Wagner of comp.lang.javascript make plain:
Alan Little wrote:
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?
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.


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


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
http://www.phorm.com/
Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.