DRIVE-THRUJS Lite / DRIVE-THRU.JS Lite (Plugin)
Super-Simple-Image-Carousel-Lazy-Loader
All you need is 4 things:
- jQuery
- The "Drive-Thru" script
- Place this in your carousel script where you can pass in the current slide number each time it changes:
- Then make each <img> element look like this:
- Optional fallback (don't worry, it doesn't get loaded but makes images available to users without JavaScript):
EXAMPLE: