Created
January 29, 2018 14:06
-
-
Save seabrizz/ae0d38782e53db63627a1df42dbafe33 to your computer and use it in GitHub Desktop.
owl carousel next prev
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var owl=$(".product-carousel"); | |
owl.owlCarousel(); | |
//$(".next") - находим нашу кнопку | |
$(".next").click(function(){ | |
owl.trigger("next.owl.carousel"); | |
}); | |
$(".prev").click(function(){ | |
owl.trigger("prev.owl.carousel"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment