1$(function() { 2 $('.bigslider').each(function() { 3 $(this).owlCarousel({ 4 autoplay: true, 5 autoplayTimeout: 5000, 6 lazyLoad: true, 7 loop: true, 8 items: 1, 9 animateOut: 'fadeOut', 10 animateIn: 'fadeIn', 11 }); 12 var bigSlider = $(this).data('owlCarousel'); 13 14 $(this).closest('.oxSlider').find('.slideNext').on('click', function(e) { 15 e.preventDefault(); 16 bigSlider.next(); 17 }); 18 $(this).closest('.oxSlider').find('.slidePrev').on('click', function(e) { 19 e.preventDefault(); 20 bigSlider.prev(); 21 }); 22 }); 23 24 $('.productSliderContent').each(function() { 25 $(this).owlCarousel({ 26 autoplay: false, 27 lazyLoad: true, 28 loop: true, 29 responsive: { 30 0: { items:1 }, 31 320: { items:2 }, 32 700: { items:3 }, 33 1024: { items:4 } 34 } 35 }); 36 var productSlider = $(this).data('owlCarousel'); 37 38 $(this).closest('.productSliderContainer').find('.productNext').on('click', function(e) { 39 e.preventDefault(); 40 productSlider.next(); 41 }); 42 $(this).closest('.productSliderContainer').find('.productBack').on('click', function(e) { 43 e.preventDefault(); 44 productSlider.prev(); 45 }); 46 }); 47});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.