lazierLoad automatically hooks itself to the page, finds all images and only loads those appearing “above the fold” resulting in faster page loads. The images not located in the viewport, are not loaded until they appear within it (viz. when the user scrolls down).
The idea for lazierLoad was inspired upon Lazy Load (which is built for use with jQuery), yet the code differs quite a lot.
Bram Van Damme
- 4 KB
- Last modified:
- lazy loading
(4/5 from 4 votes)
- Your rating:
- Please sign in or register to rate this script