Get new jQuery plugins just once a week
Sly | jQuery plugin for one-direction scrolling.
Sly is a jQuery plugin for one-directional scrolling simulation with item based navigation support and lots of other goodies.This plugin is also 9Kb minified and works in IE6.
You can even add item based navigation easily with following options:-
basic: items snap to edges (ideal if you don’t care about “active item” functionality)
smart: same as basic, but activated item close to, or outside of the visible edge will be positioned to the best logical position to help with further navigation
centered: activated items are positioned to the center of visible frame if possible
forceCentered: active items are always centered & centered items are always active. every change in position activates item that is right now in center.
with this navigation type, each item is considered to be a separate page, so each item receives a page button in pages bar.
Sly has a bunch of very useful methods that provide almost any functionality required.
- Activate – Activates an item, and depending on itemNav type, repositions it. Doesn’t work when itemNav is disabled.
- ActivatePage – Activates a page, and positions SLIDEE to it.
- Cycle – Start or pause automatic cycling.
Created by Darsain
jQuery plugin for One-direction scrolling.
Sign up for our weekly newsletter.