محصولات

jQuery(document).ready(function(){ jQuery('#sns_products11042048421537711051').removeClass('pre-load'); jQuery('#sns_products11042048421537711051 ul.products').owlCarousel({ items: 5, responsive : { 0 : { items: 1 }, 360 : { items: 2 }, 480 : { items: 2 }, 768 : { items: 4 }, 992 : { items: 4}, 1200 : { items: 5 } }, loop:true, dots: false, onInitialized: callback, slideSpeed : 700 }); function callback(event) { if(this._items.length > this.options.items){ jQuery('#sns_products11042048421537711051 .navslider').show(); }else{ jQuery('#sns_products11042048421537711051 .navslider').hide(); } } jQuery('#sns_products11042048421537711051 .navslider .prev').on('click', function(e){ if( jQuery('body').hasClass('use_lazyload') ){ var timeout = setTimeout(function() { jQuery("#sns_products11042048421537711051 img.lazy:not(.loaded)").trigger("appear") }, 1000); } e.preventDefault(); jQuery('#sns_products11042048421537711051 ul.products').trigger('prev.owl.carousel'); }); jQuery('#sns_products11042048421537711051 .navslider .next').on('click', function(e){ if( jQuery('body').hasClass('use_lazyload') ){ var timeout = setTimeout(function() { jQuery("#sns_products11042048421537711051 img.lazy:not(.loaded)").trigger("appear") }, 1000); } e.preventDefault(); jQuery('#sns_products11042048421537711051 ul.products').trigger('next.owl.carousel'); }); });

محصولات

نمایش یک نتیجه

X