jquery - how to change the number of visible items in Elastislide vertical carousel -
i'm using elastislide vertical carousel here
http://tympanus.net/codrops/2012/10/29/elastislide-revised/ and vertical one
http://tympanus.net/development/elastislide/index2.html i've changed height of carousel , height of < li > items inside display 4 items not 3 after clicking of navigation arrows keeps moving 3 items not 4 , changed dafault options of js code 3 4
$.elastislide.defaults = { // orientation 'horizontal' || 'vertical' orientation : 'vertical', // sliding speed speed : 500, // sliding easing easing : 'ease-in-out', // minimum number of items show. // when resize window, make sure minitems shown // (unless of course minitems higher total number of elements) minitems : 4, // index of current item (left item of carousel) start : 0, // click item callback onclick : function( el, position, evt ) { return false; }, onready : function() { return false; }, onbeforeslide : function() { return false; }, onafterslide : function() { return false; } };
you can change here :
minitems : 6, //or vlue want show
Comments
Post a Comment