Options

Option Type Default value Description
items selector (empty string) Items that will be sliding. Selector is relative to parent element.
controls selector '.switcher' Switch controls box. Each control should contain a link.
prev selector '.btn-prev' Control to switch gallery to the previous element.
next selector '.btn-next' Control to switch gallery to the next element.
duration integer 500 Time for animation between gallery items.
autoRotate boolean false Auto rotation trigger.
rotateTimeout integer 5000 Auto rotate timeout.
direction string 'horizontal' 'Horizonal' or 'vertical' slider.
has3d boolean (auto detect) Detect will plugin use CSS3 transform properties (if available) or jQuery animate. Can be set manually.
effect string 'linear' Custom effect for animate. Possible values for CSS3 transform (if has3d option enabled): 'ease', 'linear', 'ease-in', 'ease-out', 'ease-in-out'. For jQuery animate: 'linear', 'swing' or any available effect from additional effect plugins used.
onMove(current,next) function null Event firing while gallery is animating.

Tested on:

  • Firefox 63.0.3
  • Chrome 70.0.3538.110
  • Internet Explorer 7,8,9
  • Opera 12.02
  • jQuery versions: 1.4.2, 1.5.2, 1.6.2, 1.7.1, 1.8.2, 1.11.1, 2.1.1, 3.3.1

Demo

HTML:

JS:

CSS: