dynamicweb / swiffy-slider

Super fast carousel and slider with touch for optimized websites running in modern browsers.
MIT License
247 stars 30 forks source link

Move by more than one slide? #69

Closed perdittmann closed 1 year ago

perdittmann commented 1 year ago

Hello, clicking on the prev/next buttons makes the slider move by one slide, even if there are more than one slide displayed next to each other (slider-item-show5).

is it possible/can it be made possible to set the number of slides the slider moves? Something like "slider-item-move5"?

That would make Swiffy Slider even a bit more awesome than it already is.

Best Per

P.S. The top right "Download" button on swiffyslider.com leads nowhere.

nicped commented 1 year ago

Hi Per You can use the .slider-nav-page to enable full page sliding - i.e. moving to the next 5 slides

See https://swiffyslider.com/configuration/?slider-item-show=slider-item-show5&slider-nav-page=slider-nav-page

But you cannot move by i.e. 3 when showing 5. So either 1 slide or 1 page at a time.