Linotype
A collection of CSS list scroll effects. Works in browsers with support for CSS 3D transforms including a special touch-enabled mode for iOS & Android 4.x.
Curious about how this looks in action? Check out the demo page.
Usage
The style of scroll effect is determined via the class that is set on the list. Once the class is set, stroll.js needs to be told to monitor that list via the bind method:
// Bind via selectorsstroll; // Bind via element referencestroll; // Bind via array of elements / jQuery objectstroll;
You can provide an additional parameter with more options:
// Makes stroll.js monitor changes to the DOM (like adding or resizing items). // This is taxing on performance, so use scarcely. Defaults to false.stroll;
To disable the effect on an already-bound list, you can use stroll.unbind()
:
// Same target options as stroll.bindstroll;
History
1.2 (master/beta)
- Mobile support (iOS/Android 4+)
- New effects
1.1
- Optimizations
- New API
- New effects
1.0
- Initial release
Contributors
- Paul Irish - Perf improvements
- Felix Gnass - Perf improvements
- Kilian Ciuffolo - Fly & Fly Reverse effects
- Dave Arel - Fade effect
- Erick Daniszewski - Twirl Effect
License
MIT licensed
Copyright (C) 2011 Hakim El Hattab, http://hakim.se