Slider Demo

Available settings:

Please use desktop to see available settings.

sliderName = $('.multi4Slider').fSlider({
	arrowPrevClass: 'fArrow-prev', // provided for easy styling of arrows
	arrowNextClass: 'fArrow-next', // provided for easy styling of arrows
	autoplay: false,	
	autoplaySpeed: 3000, // in ms
	adaptiveHeightOnResize: false,
	loop: false,
	callbacks: {
	  beforeGoToSlide: function(){},
	  noLoopAfterEndSlideClickArrow: function(){},
	  afterchangeSlide: function(){}
	}, // can pass a function
	customizeDots: false, // can use thumbnails	
	centerMode: false, // slidesToShow should always be 1 if centerMode is set true
	centerPadding: '0.2%', // center mode padding applied to current slide, pass in any style among '20%', '40' & '40px'
	showSiblingsHowMuch: 0.5, // 0.5 = show 50% width of the sibling slide, if value > 1, > 1 slides will be on each side of the center slide
	dots: true,
	drag: true,
	dynamicHeight: false, // if this is set false, default slider item vertical-align: middle
	setHeight: false, // setHeight to crop sliderItems which are too long
	widthHeightRatio: 0, // if setHeight is set true, you must provide this value
	defaultCurrentSlide: 0, // start from 0
	easing: 'easeOutExpo', // pass any jQuery easing
	numOfNextSlides: [1, 1], // for responsive, please pass an array, for non-responsive, pass either integer or array 
	pauseOnHover: true,
	responsiveBreakPoint: [0, 960], // must include 0
	responsive: true,
	showArrows: true,
	slidesToShow: [1, 1], // for responsive, please pass an array, for non-responsive, pass either integer or array 
	speed: 500 // in ms

sliderName.fSlider('destroy'); or $('.multi4Slider').fSlider('destroy');

// return sliding movement direction: 'prev' or 'next'
sliderName.fSlider('returnSlideDir'); or $('.multi4Slider').fSlider('returnSlideDir');

$('.multi4Slider').fSlider('goToSlide', targetSlideIndex); // targetSlideIndex [integer]


Please set max-width for .fSlider
Please set max-width of .fSlider as current slide width for center mode

Autoplay; speed: 0

Show 1 slide; center mode; showSiblingsHowMuch: 2.5

2 sliders working tgt!

center mode

next: 3 slides; loop; center mode; callbacks

destroy slider re-init slider

next: 3 slides; loop; dynamic height

next: 1 slide; no loop; customize dots

Show 2 slides; num of next slides = 2


Fade effect; dynamic height

Default current slide: third; no arrows; autoplay