buckwilson/Lightbox_me

html5 + ie = lightbox_me fails

Opened this issue · 5 comments

After much hair-pulling I have determined that html5 doctype breaks lightbox_me in ie (versions 7-9). All other browsers seem to work fine. Its hard to adequately debug the issue in ie, but $self.outerWidth() is a crazy large number and the positioning fails completely. Is this a known problem with html5?

We haven't seen this behavior when using lightbox_me with Jive (which supports IE7 and is in HTML5). What version of jQuery are you running? I haven't tested it with the latest, and I know it has some HTML5 / IE7 ramifications that I haven't tested out yet.

I am using 1.6.3 but I tried various older versions. The only thing that made it work was using a doctype. I used XHTML 1.0 Transitional that I copied from your demo page, haven't tried any others.

I can confirm that with HTML 4.0 Transitional Lightbox_me will not work in IE.

Thanks for tracking this down. I'll see if I can figure out what's going on.

We are seeing the same issue in IE8 when using both

and

Using XHTML 1.0 works fine... however our website won't render properly with XHTML.