A
A
ayapergenov2015-09-30 17:30:57
JavaScript
ayapergenov, 2015-09-30 17:30:57

Why such glitch with jquery plugin for creating slick sliders?

I put a slider. After the end of the cycle, pictures should be displayed starting from the first. And a glitch comes out. Then the correct display starts again?
page.webexcel.ru/index.html

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Zuev, 2015-09-30
@ayapergenov

Remove the slick-prev and slick-next buttons , the plugin will add them itself

<div class="row slider-box">
 -<button type="button" class="slick-prev">Previous</button>
  <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12"><img src="img/pic-2.jpg" alt=""></div>
  <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12"><img src="img/pic-2.jpg" alt=""></div>
  <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12"><img src="img/pic-2.jpg" alt=""></div>
  <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12"><img src="img/pic-2.jpg" alt=""></div>
  <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12"><img src="img/pic-2.jpg" alt=""></div>
  <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12"><img src="img/pic-2.jpg" alt=""></div>
 -<button type="button" class="slick-next">Next</button>
</div>

0
0leg5ergeev, 2015-09-30
@0leg5ergeev

try to add 1 more image
+ try to see the function you declared for slick

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question