83
rated 0 times
[
89]
[
6]
/ answers: 1 / hits: 30403
/ 9 Years ago, sun, april 26, 2015, 12:00:00
I'm using Slick.js
For some reason I can't seem to get the dots to show.
This is what I have.
<link rel=stylesheet type=text/css href=css/style.css>
<link rel=stylesheet type=text/css href=slick/slick.css/>
<link rel=stylesheet type=text/css href=slick/slick-theme.css/>
<script type=text/javascript src=js/jquery.js></script>
<script type=text/javascript src=slick/slick.min.js></script>
HTML Markup
<div class=single-item>
<div><img src=img/shadow.jpg alt=></div>
<div><img src=img/shadow.jpg alt=></div>
<div><img src=img/shadow.jpg alt=></div>
</div>
Calling and options
$(document).ready(function(){
$('.single-item').slick({
dots: true,
infinite: true,
speed: 500,
});
});
Weirdly it groups the images into a slideshow. If I test whether it's working with autoplay the carousel works. The dots are just not showing, even though I call them.
style.css
CSS in a Fiddle here
More From » html