Tel 678.697.4783
Fax 678.840.7870
Po Box 4432
Marietta, Ga 30061
info@jamboconsulting.com

 Subscribe in a reader



Lunarpages.com Web Hosting
Web hosting by ICDSoft

Archives

Previous Posts

Powered by Blogger

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:

Post a Comment

Links to this post:

Create a Link

<< Home