I took the project to build this library because I was tired of packages that only worked to lazyload images. Really? I don’t need a library to just change an
<img random-src-attribute="xyz" /> to
<img src="xyz" /> when the user scroll is going to make the image visible
Lazyload.js detects viewport and user scrolling and allows you to lazy load:
You can see it live, loading all kind of content, at TopBoats.com.
The images below show it working: