Answer the question
In order to leave comments, you need to log in
How to change OWl slide by index?
Hello, I made custom thumbnails. Index thumbnail = index slide.
$('.modal-thumbnails img').on('click',function(){
var indexThumb = $(this).index()
// КОД ЧТО бы при клике, owl сменился на нужный слайд,
})
var modal = $('.modal-slides');
modal.owlCarousel({
items: 1,
});
$('.modal-thumbnails img').on('click',function(){
var indexThumb = $(this).index()
console.log(indexThumb)
})
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question