Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to change owl nav, how to make custom next-prev button in owl carusol

var owl = $('.owl-carousel');
owl.owlCarousel();
// Go to the next item
$('.customNextBtn').click(function() {
    owl.trigger('next.owl.carousel');
})
// Go to the previous item
$('.customPrevBtn').click(function() {
    // With optional speed parameter
    // Parameters has to be in square bracket '[]'
    owl.trigger('prev.owl.carousel', [300]);
})
Source by owlcarousel2.github.io #
 
PREVIOUS NEXT
Tagged: #change #owl #custom #button #owl #carusol
ADD COMMENT
Topic
Name
6+6 =