sly 介绍
一个很不错的滚动条 jquery 插件
JavaScript library for one-directional scrolling with item based navigation
support.
Sly supports navigation with:
- mouse wheel scrolling
- scrollbar (dragging the handle or clicking on scrollbar)
- pages bar
- various navigation buttons
- content dragging with mouse or touch
- automated cycling by items or pages
- lots of super useful methods
… and has a powerful & developer friendly API!
That’s all build around a custom highly optimized animation
rendering with requestAnimationFrame, and GPU
accelerated positioning with fallbacks for browsers that don’t support it.
demo http://darsa.in/sly/#!examples