🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

nLazy is a super lightweight (<1kb) jQuery plugin which delays loading of background images until the containers enter viewport.

lazy-load

Documentation

nLazy

Usage

Insert into your html

<script src="nLazy.js"></script>

Set your divs

<div class="nl-image" data-background="my-great-image.png">   <p>My great content</p> </div>

Statuses

status class
Not triggered nl-image
Loading image nl-loading
Image loaded nl-loaded

You May Also Like