Created
October 27, 2014 13:44
-
-
Save urre/30523173fb22e3a375fa to your computer and use it in GitHub Desktop.
Slick.js slider with thumbnails
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('.specs__slider').slick({ | |
dots: true, | |
centerMode: true, | |
focusOnSelect: true, | |
arrows: false, | |
customPaging: function(slider, i) { | |
return '<div class="thumbnails">' +$(slider.$slides[i]).find('img').prop('outerHTML')+ '</div>'; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment