javascript - OwlCarousel 2 function animate -


i'm using owl.carousel 2 (beta version). animate function fade effect works clicking on nav buttons. there function (or add code) changes images when click on image? can hide prev-next buttons. thanks.

maybe this:

var owl=$('.owl-carousel').owlcarousel({     items:4,     loop:true,     margin:10 }).click(function(){     owl.trigger('next.owl.carousel'); }) 

http://jsfiddle.net/sm6nc81z/2/


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -