jQuery Slider Problem[Slick]

jQuery slider source

I’m having coding problems with my jQuery slider, I want it to autoplay though and I’m new to jQuery.

Here is the images what I coded:

Sample SITE

The Sourcecode:

Hmm, I’ve never used slick but it looks like you’re initializing it twice on the same element (.single-item and .autoplay are the same thing).

It looks like slick adds markup to the slideshow to make it work, so by the time the second .slick() is made there’s technically only one child element (the slick element).

That’s my guess anyways.

1 Like

I think I fixed it now.

Yes, I think @labofoz nailed it. You only want one of those blocks of code. Just put any settings inside that. E.g.

    dots: true,
    infinite: true,
    speed: 500,
    slidesToShow: 3,
    slidesToScroll: 1,
    autoplay: true,
    autoplaySpeed: 2000
1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.