iosscripts / iosslider

iosslider is a jQuery plugin which allows you to integrate a customizable, cross-browser content slider into your web presence. Designed for use as a content slider, website banner, or image gallery.
http://iosscripts.com/iosslider
432 stars 103 forks source link

option to advance whole slider width rather that just slide width #326

Closed owzim closed 10 years ago

owzim commented 10 years ago

It'd be great if there was an option to make the drag snapping, .iosSlider('prevSlide') and .iosSlider('nextSlide') move the slider not just the amount of pixels of a single slide, but the whole slider width.

Use case: If I have say 6 slides showing within the width of the slider I don't want to just move the slider the tiny width of one slide but the whole pack.

Is this currently possible somehow?

marcwhitbread commented 10 years ago

This isn't currently possible but not too difficult to implement I don't think.

I am looking into adding .iosSlider('nextPage'); and .iosSlider('prevPage'); to support this behaviour.

marcwhitbread commented 10 years ago

Public methods now available. Will merge into master.