Javascript Popup Does NOT Work in IE8

Permalink
Hi

I'm trying to make an image a javascript popup link.

It works in Firefox, but not in IE8.

When I click on the image, it just gives me errors on line xx which is where the window.open line is.

Is it because IE doesn't like the .?

Here's the page where it's going wrong: (click on the Virtual Tours Icon)

http://37gillespie.livingphoto.ca...

 
jordanlev replied on at Permalink Best Answer Reply
jordanlev
It seems that IE8 doesn't support using a title in the 2nd argument of window.open. See here for details:
http://stackoverflow.com/questions/710756/ie8-var-w-window-open-mes...

A possible workaround is to use a jquery lightbox effect instead of opening a new window:
http://stackoverflow.com/questions/1444677/javascript-window-open-n...

Also, I think you should reduce the file size of the images on that page -- they are very large and it takes a long time for the page to load (I don't mean the images are large in the visual sense, but rather they could probably use some re-saving with better compression to reduce the file size).
discoduck replied on at Permalink Reply
Thanks!! Works like a charm!

Everything works fine now. I'll make sure to downsize the photos as well.