/shadowedscroller

jQuery Plugin that creates a fixed-height scrollable region that uses a top and bottom shadow to indicate scrollability of the content region.

Primary LanguageJavaScript

ShadowedScroller

jQuery Plugin that creates a fixed-height scrollable region that uses a top and bottom shadow to indicate scrollability of the content region.

Demo: http://codepen.io/benknight/full/werpn

Usage

$('.my-widget').shadowedScroller(options);

Options:

1. height {Number} The fixed height of the scrollable area.  Default: 200
2. shadow_size {Number} The size and curvature of the shadow.  Default: 30
3. shadow_color {String} The color of the shadow.  Default: 'black'