ericfavoni / lazy-load-bootstrap-carousel

A lazy load version for the twitter bootstrap carousel

Home Page:http://www.maurizioconventi.com/2012/06/12/how-to-create-a-lazy-load-carousel-with-twitter-bootstrap/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lazy-load-bootstrap-carousel

A lazy load version for the twitter bootstrap carousel.

A lazy load carousel delays loading of images in order to make the page load faster. It loads the images only if needed. It is useful for all web pages but mainly for web pages containing many large images. Its behaviour is opposite of image preloading.

How to use

You need to define the lazy-src="define your image path here" attribute for the images that must be loaded on demand. I suggest using the lazy load feature from the second image.

I created a simple example in the patch. It is useful to understand how to create your lazy carousel.

More info can be found on http://www.maurizioconventi.com

License

This code is released under the MIT license, you are free to use and edit it.

About

A lazy load version for the twitter bootstrap carousel

http://www.maurizioconventi.com/2012/06/12/how-to-create-a-lazy-load-carousel-with-twitter-bootstrap/


Languages

Language:JavaScript 97.6%Language:CSS 2.4%