ressio / lazy-load-xt

Lazy load XT is a jQuery plugin for images, videos and other media
http://ress.io/lazy-load-xt-jquery/
MIT License
1.36k stars 245 forks source link

Does neither work with Internet Explorer 8 nor IE10 #14

Closed Wikinaut closed 9 years ago

Wikinaut commented 9 years ago

Sorry for coming up with an issue with this old browser, but your library does not work with IE8, an empty screen is shown instead of lazy-loaded images. Your example pages however do work with IE8.

I am puzzled and wonder, what makes the difference.

In the meantime is changed my code to use an alternative library ( http://jquery.eisbehr.de/lazy/ ) ‒ which works in IE8, and my primary browser (Firefox).

dryabov commented 9 years ago

Could you post URL of your page or make an example on jsfiddle?

Wikinaut commented 9 years ago

@dryabov Url or jsfiddle: I will do this ‒ in some hours. Thanks for your swift reply.

Wikinaut commented 9 years ago

see http://jsfiddle.net/uxmeejo1/

(the lazy-load-xt library is added in jsfiddle under "External resources". I directly use the script here from Github)

If you wish, I can add screenshots here.

Wikinaut commented 9 years ago

I had to use

<!DOCTYPE html>

like in your demo examples.

This

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

does not work in IE8 or IE10. I don't know, why.