Lazy Load Plugin for jQuery

Blog Projects

Plugin enabled with AJAX loaded content

Images are loaded via AJAX(H) call after you click the container. Lazy Load is applied in the callback.

 $("#container").one("click", function() {
     $("#container").load("images.html", function(response, status, xhr) {
         $("img.lazy").lazyload();
     });              
 });
 <img class="lazy" data-original="img/example.jpg" width="765" height="574">
Click me to load content...
CATEGORIES
Built using the awesome Flat UI Pro framework by Designmodo.

© 2013 Mika Tuupola.