Приклад
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
$(document).ready(function() { $('.product-owl-carousel, .product-show-owl-carousel').owlCarousel({ items: 6, autoPlay: true, paginationSpeed: 5000, responsiveClass: true, itemsDesktopSmall: [1199, 4], itemsTablet: [991, 3], itemsMobile: [767, 2], pagination: false, navigation: true, navigationText: [ '<%= image_tag("arrow_left.png") %>', '<%= image_tag("arrow_right.png") %>' ] }); }); |