Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
LazyLoad allows you to defer image loading until the user scrolls down to each image.
JavaScript
tag: 1.2

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Assets
Docs
Source
README.md
package.yml

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

Something went wrong with that request. Please try again.