Skip to content

srkimir/thumbnails-carousel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

thumbnails-carousel

Simple jquery plugin which add support for using thumbnails for bootsrap carousel.

Dependencies: jQuery & bootstrap.js, include thumbnails.carousel.js after.

alt tag

While user slide left or right, appropriately thumbnail gets selected and change its opacity to be different among others thumbnails. User can also click on thumbnails to show the appropriate image on carousel.

Options

center: boolean, default: true
backgroundControl: boolean, default: false

With 'center' option set to true thumbnails will be centered under the carousel parent(image above).
With 'backgroundControl' option set to false plugin will turn off any controls background gradients.

Example with center: false and backgroundControl: true.
alt tag

How to use it

Add jQuery, bootstrap.js, thumbnails.carousel.js and thumbnails.carousel.css
```html ``` Run plugin: ```javascript $('.thumbnails-carousel').thumbnailsCarousel(); ``` Or pass options: ```javascript $('.thumbnails-carousel').thumbnailsCarousel({ center: false, backgroundControl: true }); ``` Or visit: http://codepen.io/srkimir/pen/mGbrf

TODO:

  1. The only thing worse than missing alt text is bad alt text. 1_tn.jpg is meaningless. http://webaccess.its.uiowa.edu/workshops/alt/alt006.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published