Swiper - is the free and ultra lightweight mobile touch slider with hardware accelerated transitions (where supported) and amazing native behavior. It is intended to use in mobile websites, mobile web apps, and mobile native apps. Designed mostly for iOS, but also works on Android and latest Desktop browsers. Swiper is created by iDangero.us
- Few important fixes including IE8 improvements
- Updated Scrollbar plugin to be compatible with IE8
- New API features:
- New feature to enable 100% resitance with
nopeek
parameter - New feature to disable "swiping" on some slide with additional
NoSwiping
element's class .activeSlide
became.activeIndex
.previousSlide
became.previousIndex
- New feature to enable 100% resitance with
- IE9 fix for with in percents
- Other minor fixes and improvements
- New API features:
- New feature to disable short swipes with
shortSwipes
parameter - New feature to add "start" threshold
moveStartThreshold
parameter - New feature to use left/top wrapper position offset instead of use of css3 transforms
useCSS3Transforms
parameter
- New feature to disable short swipes with
- Updates CSS file
- Minor fixes and improvements
- Added support for devices that can use both mouse and touch "pointers" at the same time, like many of Windows 8 tablets and notebooks
- New API features:
- New feature to set "group sliding" with
slidesPerGroup
parameter - Now you can hardcode resize event (for example "resize" instead of "orientationchange" for mobiles) with
resizeEvent
parameter
- New feature to set "group sliding" with
- Fixes:
- Fixed situation when slider can get stuck between slides when tapped during transition
- Now clickedSlide will return correct slide in loop mode
- Minor fixes
- Improved cursors usablity with autmatic grab cursors for container and drag cursor for scrollbar
- Improved mousewheel control for scroll container/free mode to have more native scrolling behavior
- Snap functionality for scrollbar
- Scrollbar plugin updated to version 1.2
- Minor fixes
- Fixed initialSlide/resize issue
- New ability to use slides with fixed width in fluid container with a
slidesPerSlide:'auto'
- Pagination switch that appropriate to active slide index has additional "swiper-activeslide-switch"
- Other minor fixes
-
New API features:
- New keyboard arrows navigation with "keyboardControl" option
- New mousewheel navigation with "mousewheelControl" option
- Now it is possible to pass HTMLElement on initialization, not only css selector like before
- Updated 3D Flow
- Updated Scrollbar
- Fixed small Android and IE8 bugs
- Improved "scrollContainer" to be more responsive
- Other minor core fixes
- New huge and awesome Slides API
-
New API features:
- New initialization option "initialSlide"
- New methods: ".reInit()", ".currentSlide()", ".clickedSlide"
- New callbacks: "onSlideClick" and "onSlideTouch"
- Update 3D Flow plugin to work with new features
- Lot of minor and few major core fixes
- New API features
- Scroll Container Improvements
- Reworked internal plugins API
- Windows Phone 8 Support
- Minor fixes
- New Scroll Container mode to use like simple scrollable area!
- New API features
- Highly improved nested behavior to create multi dimensional apps
- Fixed auto play in loop mode
- Fixed initialization "delay" in loop mode
- New internal plugins API (beta). It allows to create own Swiper plugins
- Improved Internet Explorer 8 support
- Minor fixes
- Internet Explorer 8 support (without animation)
- FireFox below 11 support
- A lot of major and minor fixes, core optimization
- Now it works in Internet Explorer 9 (without animation) and Internet Explorer 10
- Improved perfomance
- New "loop" mode with infinite scroll (see demo below)
- New carousel mode, now you can show few slides per slider container (see demo below)
- New "smart" pagination, looks fun with loop and carousel modes
- Now Swipers can be easily nested one into another (see demo below)
- Added ability to disable automatic slider resize on windows resize
- Updated CSS
- External functions swipeNext, swipePrev, swipeTo now return true or false.
- .previousSlide property returns the index of previously displayed slide
- Added onSlideInitialize callback
- Added onSlideChangeStart callback
- Added onSlideReset callback
- onSlideChange is renamed to onSlideChangeEnd
- Now .swipeTo() method accepts 3 parameters - index (number), speed (number) and runCallbacks (boolean)
- Now .swipeTo() method will produce 'onSlideChangeStart' and 'onSlideChangeEnd' callback functions (if "runCallbacks" is not equal to "false")
- New mySwiper.destroy() method to release all events assigned by Swiper
- Fixed serious bug when using fluid (responsive) Swiper to re-calculate slides' position on window resize
- Improved mouse events to get the same behaviour as on touch devices
- Added autoPlay parameter to enable auto play
- mySwiper.startAutoPlay() - external function to start auto play
- mySwiper.startAutoPlay() - external function to stop auto play
- Optimized for usage as a fallback for upcoming "iDangero.us S6" 3D slider
- Added small plugin to use Swiper with Zepto.js
1:1 Touch movement. But this ratio can be configured
Touch emulation. This function will be useful if you are going to use Swiper on desktop sites. In this case Swiper will accept mouse events like touch events (click and drag to change slides)
Vertical/Horizontal. Swiper comes with 2 main modes - horizontal (for horizontal animation and horizontal swipes) and vertical (for vertical animation and vertical swipes)
Free Mode. When this mode enabled slides will not have fixed positions, like usual scroller (see demos bellow)
Rotation/resize adjustment. Swiper will be reinitialized after rotation of device
Responsive. Can be used with a width or/and height defined in percents, not fixed. Useful for usage on devices with a different resolutions
Scroll prevention. Swiper will prevent vertical scroll when you touch it in "horizontal" mode, and horizontal scroll in "vertical" mode
Resistant bounds. Swiper will increase resistance when you try to swipe it over than most left and most right positions (most top and most bottom for "vertical" mode)
Built-in pagination control. Can be disabled
Auto Play. Just set the delay and Swiper will change the slides automatically untill you touch it.
Loop mode. In this mode you will get infinite scrolling and first slides will repeat after last ones. New in 1.5
Carousel mode. Swiper allows you to set numbers of slides you want to display at the same time on slider's container. New in 1.5
Nested Swipers. You can insert one Swiper into slide of different Swiper, for example vertical into horizontal. New in 1.5
Any HTML. You can put any HTML content inside of slide, not only images
Rich API. Swiper comes with very rich API. It allows to create your own pagination, "next" and "previous" buttons and comes with 4 callbacks - onTouchStart, onTouchMove, onTouchEnd, onSlideSwitch
Flexible configuration. Swiper accepts a lot of parameters on initialization to make it much flexible as possible. You can configure animation speed, mode (vertical or horizontal), free mode, enable/disable pagination, touch ratio, etc.
Hardware accelerated. Swiper uses hardware accelerated technics (where supported) to achive ultra smooth animation and perfomance, especially on iOS devices.
Awesome compatibility. Swiper compatible and tested with: Mobile Safari (tested on iOS5), Android 2.1+, latest desktop versions of Google Chrome, Safari, Firefox, Internet Explorer 10 and Opera. It also works in Internet Explorer 9 but without animation.
Standalone. Swiper doesn't require any JavaScript libraries like jQuery, it makes Swiper much more smaller and faster. So it can be safely used with such libraries as jQuery, jQuery Mobile, jQTouch, etc.
Ultra lightweight. Only 3.2 KB minified and gzipped
With all these features you can build amazing touch interfaces and apps with awesome native behavior.
http://www.idangero.us/sliders/swiper/
Swiper is licensed under GPL & MIT