Shortcode – Product Categories

jQuery(document).ready(function($) {

$(‘#slider_929197898’).iosSlider({
snapToChildren: true,
desktopClickDrag: true,
horizontalSlideLockThreshold:2,
infiniteSlider:false,
slideStartVelocityThreshold:2,
verticalSlideLockThreshold: 2,
navPrevSelector: ‘.prev_929197898’,
navNextSelector: ‘.next_929197898’,
onSliderResize: slideResize,
onSlideChange: slideChange,
});

function slideResize(args) {
setTimeout(function() {
var t=0;
var t_elem;
$(args.sliderContainerObject).find(‘li’).each(function () {
$this = $(this);
if ( $this.outerHeight() > t ) {
t_elem=this;
t=$this.outerHeight();
}
});
$(args.sliderContainerObject).css(‘min-height’,t);
$(args.sliderContainerObject).css(‘height’,’auto’);
}, 10);
}

function slideChange(args,slider_count) {
var slider_count = $(‘#slider_929197898’).find(‘li’).length;
var slider_count = slider_count – 4;
if(args.currentSlideNumber > slider_count){
$(‘.next_929197898’).addClass(‘disabled’);
} else {
$(‘.next_929197898’).removeClass(‘disabled’);
}
if(args.currentSlideNumber == ‘1’){
$(‘.prev_929197898’).addClass(‘disabled’);
} else {
$(‘.prev_929197898’).removeClass(‘disabled’);
}
}

});

<div id=”slider_929197898″ class=”iosSlider” style=”overflow:hidden;height:200px;min-height:200px;”>



Azimut

[ux_product_categories number="10" parent="0" columns="4"]
[product_categories  number="12" columns="5"]