darkwing / LazyLoad

LazyLoad allows you to defer image loading until the user scrolls down to each image.

This URL has Read+Write access

name age message
directory Assets/ Wed Sep 02 17:43:34 -0700 2009 Added blank.gif [darkwing]
directory Docs/ Mon Dec 14 20:15:12 -0800 2009 Updated LazyLoad to allow for horizontal or ver... [darkwing]
file README.md Wed Nov 25 17:54:57 -0800 2009 Updated documentation [darkwing]
directory Source/ Mon Dec 14 20:16:29 -0800 2009 Updated LazyLoad to allow for horizontal or ver... [darkwing]
file package.yml Mon Dec 14 20:15:12 -0800 2009 Updated LazyLoad to allow for horizontal or ver... [darkwing]
README.md

LazyLoad

LazyLoad allows you to defer image loading until the user scrolls down to each image. Using LazyLoad can easily save you bandwidth and allow the page to load faster for the user. This plugin takes only a minute to implement so using LazyLoad is a must.

Screenshot

How to Use

LazyLoad should be initialized during the DOMReady event. There are no required arguments -- only options.

#JS
/* LazyLoad instance */
var lazyloader = new LazyLoad({
    range: 200,
    image: 'Assets/blank.gif',
    elements: 'img'
});

For specific usage and options, please read the documentation or visit http://davidwalsh.name/js/lazyload