Ads

Sunday 29 June 2014

Customizable jQuery Slideshow Carousel Plugin (Conveyor Belt)

Download   Demo


Conveyor-Belt is a simple but well adjustable slideshow carousel jQuery plugin. Plenty of configurations available, including transition types; image fits; slideshow speeds;


PREREQUISITES: You need a DIV with a UL and a load of LI’s with IMAGES Use CSS to set the height and width of your $(‘.example’) element – this will be the size of your slideshow.



<div class="example">
<ul id="cb-images">
<li><img src="img.png"/></li>
<li><img src="img.png"/></li>
<li><img src="img.png"/></li>
<li><img src="img.png"/></li>
</ul>
</div>


BASIC USAGE: all are optional



$('.example').plugin(
ul,
fit,
auto,
countdown,
speed,
startPosition,
transition,
ease,
direction,
overflow,
html,
controls,
buttonDimension

);


config options:








































































Optiondata typevaluesdefaultdescription
ulstring‘#images’‘#cb-images’id/class of parent
fitstring;float‘cover’,’landscape’,’portrait’, .5‘cover’decimal is a percentage value of images original size
autofloattrue, falsetrueauto or manual slide show
countdownfloat30003000time in ms till next slide
speedint400400transition speed in ms
startPositionint1, ‘last’1choose where you want you show to start from
transitionstring‘vertical’,’horizontal’,’blend’‘blend’transition types
easestring‘normal’,’in’,’out’,$custom‘normal’if adding a custom – you must prepend $ to your string first
directionstring‘forward’,’backward’‘forward’‘next’ or ‘previous’ directions for auto mode
overflowbooleantrue, falsetruehides the overflow
htmlbooleantrue, falsefalseallows HTML content. Replace  with a
including your content

controlsbooleantrue, falsefalseadds ‘next’ & ‘previous’ control buttons
buttonDimensionint10020value is in pixels – donates size of < and > buttons

usage example



$('.container').conveyor(
ul:'.images',
fit:'portrait',
transition:'blend',
startPosition:'last',
direction:'backward',
ease:'$cubic-bezier(0.230, 1.000, 0.320, 1.000)'
);



Customizable jQuery Slideshow Carousel Plugin (Conveyor Belt)

No comments:

Post a Comment