laravel-learn-bbs/public/packages/summerblue/administrator/js/jquery/customscroll
2018-02-13 00:05:19 +08:00
..
customscroll.css 后台用户管理 2018-02-13 00:05:19 +08:00
jquery.customscroll.js 后台用户管理 2018-02-13 00:05:19 +08:00
README.md 后台用户管理 2018-02-13 00:05:19 +08:00

jquery.customscroll

Facebook like custom scrollbars (OSX inspired).

Demo

Check out http://marcojetson.github.com/jquery-customscroll/

Installation

Include script after jQuery

<script src="jquery.customscroll.js"></script>

Include stylesheet

<link rel="stylesheet" href="customscroll.css">

License

Dual licensed under the MIT or GPL Version 2 licenses.

Usage

$(selector).customscroll(options)

Selected element must have height defined in CSS rules (and overflow-y: hidden to avoid screen flashes)

Options

show

on

Event when track is shown, default 'mouseenter scrollstart'

effect

Effect used to show track, default 'fadeIn'

speed

Effect speed to show track, default 250

delay

Show delay, default 0

hide

on

Event when track is hidden, default 'mouseleave scrollstop'

effect

Effect used to hide track, default 'fadeOut'

speed

Effect speed to hide track, default 250

delay

Hide delay, default 750

grow

Change size on hover, use null for disable

size

Size to grow in pixels, default 3

speed

Grow animation speed, default 100

pageUpnDown

speed

Speed animation when clicking on the track