darkwing / LazyLoad
- Source
- Commits
- Network (1)
- Issues (1)
- Downloads (4)
- Wiki (1)
- Graphs
-
Branch:
master
LazyLoad /
| name | age | message | |
|---|---|---|---|
| |
Assets/ | Wed Sep 02 17:43:34 -0700 2009 | |
| |
Docs/ | Mon Dec 14 20:15:12 -0800 2009 | |
| |
README.md | Wed Nov 25 17:54:57 -0800 2009 | |
| |
Source/ | Mon Dec 14 20:16:29 -0800 2009 | |
| |
package.yml | Mon Dec 14 20:15:12 -0800 2009 |
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.

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
