Reputation: 33
I want to change slick slide position by tabs. I have tabs and I need to go to specific slide by clicking on tab. Can anyone help me on this.
Upvotes: 0
Views: 810
Reputation: 413
Change your beforeChange event as below
$('.slideshow').on('beforeChange', function(event, slick, currentSlide, nextSlide){l
$(".slick-slide").removeClass('works');
$('.slick-current').addClass('works');
});
Upvotes: 1