D
D
damarkuzz2019-10-03 16:23:18
JavaScript
damarkuzz, 2019-10-03 16:23:18

How to make a slick.js review slider in Joomla?

Dear colleagues, please help me to make a slider based on
slick.js site , but in the end nothing works.
It is necessary to understand how to make a slider, as in the screenshot, it is called "Autoplay"

I have a feeling that the included scripts conflict with the existing ones.
Please give me a kick or a good indication where and in what direction to move :)
Link to the site: zerno.srv160751.hoster-test.ru/test-slajdera

5d95f5e8573d9944982787.jpeg

$('.autoplay').slick({
  slidesToShow: 3,
  slidesToScroll: 1,
  autoplay: true,
  autoplaySpeed: 2000,
});

<div class="autoplay slick">
  <div>your content</div>
  <div>your content</div>
  <div>your content</div>
</div>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GenJet, 2019-10-07
@damarkuzz

$('.autoplay').slick({
  slidesToShow: 3,
  slidesToScroll: 1,
  autoplay: true,
  autoplaySpeed: 2000
});

Remove the comma at the end.
small example

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question