MooTools Scrollbar class (extends Slider)
JavaScript
Latest commit b22f7c1 Mar 30, 2012 @eerne Merge pull request #10 from aschempp/master
LGTM tested on IE6/8 http://jsfiddle.net/UYZZ6/2/show/ (http://jsfiddle.net/UYZZ6/2/), sorry it took so long.
Permalink
Failed to load latest commit information.
Demos set default transition to linear, updated horizontal example to speci… Jul 28, 2011
Docs
Source
LICENSE
README.md
package.yml updated readme and author infos Dec 6, 2010

README.md

MooTools Scrollbar

A simple Apple-style productbrowser (extends Slider) for MooTools 1.3.x.

Screenshot

Features

  • mouse wheel support
  • Animated scrolling
  • Flexible
  • Lightweight
  • Cross-Browser Compatible

Submit examples on the wiki

If you have a working scrollbar online add your link to github.com/eerne/scrollbar/wiki

How to use

var myProductbrowser = new ScrollBar('products', 'bar', 'knob'[, options]);

First argument should contain an element with an overflow, for example all your products. Bar and knob are used for the Slider instance.

Options

see Slider

Additional

  • scroll: (Object) options for the container's Tween instance
  • knob: (Object) options for the slider knob's Tween instance, see Fx and Fx.Tween

Todo

  • code review
  • discuss API

Changelog

  • removed Fx.Scroll dependency
  • updated to MooTools 1.3 (without compatibility)
  • added mouse wheel support
  • backported to MooTools 1.11
  • added to MooTools 1.3 ßeta 1 example