Friday, April 28, 2006
Tech: IE Javascript Popup Window Bug
I hate IE.Hopefully this will save somebody hours of frustration. IE seems to have bug with opening Javascript popup windows. The following code works fine in Firefox etc. but fails with no erros in IE:
myURL = "Stores.html";
newWindow = document.open(myURL,'Store Locations','width=400,height=700,toolbar=0,resizable=0');
if (window.focus) {newwindow.focus()}
return false;
Apparantly IE doesn't like the space in the string for the name of the new window. Removing the space in the string fixes the problem.
The same applies to the "window.open" method.
posted by Jambo Consulting at 8:27 PM
0 Comments:
Links to this post:
Previous Posts
- Tech: For all those browser quirks...
- News: MacBook Pro 17"
- Articles: Insights into Windows and Mac OS X
- News: Apple Remote Desktop 3
- News: Mac OS 10.4.6 updates available
- News: Official Apple support for Windows XP
- News: Apple Joins BAPCo
- Tech: Making OS X Faster
- Tech: FREE Software
- News: Windows XP on Intel Macs confirmed



