Answers for "download SlickJS"

0

slick slider cdn

CSS

<link rel="stylesheet" type="text/css" href="cdn.jsdelivr.net/npm/[email protected]/slick/slick.css"/>

JS

<script type="text/javascript" src="cdn.jsdelivr.net/npm/[email protected]/slick/slick.min.js"></script>
Posted by: Guest on April-29-2020
0

slick slider unslick

$('.slider-for').slick({
  slidesToShow: 1,
  slidesToScroll: 1,
  arrows: false,
  fade: true,
  asNavFor: '.slider-nav'
});
$('.slider-nav').slick({
  slidesToShow: 3,
  slidesToScroll: 1,
  asNavFor: '.slider-for',
  dots: true,
  centerMode: true,
  focusOnSelect: true
});
Posted by: Guest on March-13-2020

Browse Popular Code Answers by Language