One "owl-dots" for the two roundabouts?

0 like 0 dislike
15 views
We need to implement a double-horizontal-carousel owl, whatever it was controlled with the help of owl-dots and owl-nav. First, did stupid two .owl-carousel, processed events, and now owl-nav from the top of the carousel twist and lower the carousel at the same time:
var owl = $('#ourChannelSec'); owl.owlCarousel(); $('#ourChannel .owl-nav .owl-next').click(function() { owl.trigger('next.owl.carousel'); }); $('#ourChannel .owl-nav .owl-prev').click(function() { owl.trigger('prev.owl.carousel'); });


But how to do so would be by clicking on the dots spinning synchronously along the top and bottom of the carousel comes to mind, put items carousels in a foreach loop. Please tell me how to do that
asked by | 15 views

1 Answer

0 like 0 dislike
I think it would be right to hang callback in the event of a switch of the carousel and synchronize the index, maybe something like https://jsfiddle.net/0cx7hdkj/ .
answered by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked Apr 11 by UnluckySerivelha
110,581 questions
257,150 answers
0 comments
476 users