Skip to content

nicocedron/jquery-customscroll

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Facebook like custom scrollbars (OSX inspired).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published