Boilerplate for creating a full-width repeatable slideshow.
- Make it a plugin
Instantiate the carousel with the following:
$(function(){
$('.infinity-carousel').each(function() {
infinityCarousel.apply( this );
});
});
This type of slideshow is only practical for slideshows that have enough slides to warrant repeating.
css/infinityCarousel.css`
js/infinityCarousel.js`
index.html
The sass file scss/infinityCarousel.scss
contains variables for easier style configuration.