Tags

, ,

In this article i am going to show you guys how can we adjust cycle2 visible slides according to responsive different window sizes

by using this code you can adjust slides as you want

if($(window).width() <= 320){
		$('.cycle-slideshow').cycle('destroy');
		$('.cycle-slideshow').cycle({
			carouselVisible: 2,
		});	
	}else{
		$('.cycle-slideshow').cycle('destroy');
		$('.cycle-slideshow').cycle({
			carouselVisible: 4,
		});	
	}

Working Example Click Here

Advertisements