The demo

Try to scroll the following panel using your mouse wheel or your keyboard arrow keys, it now scrolls smoothly !

The code

This example is running the custom jScrollPane plugin initialized with the following code (and skinned with custom CSS) :

	showArrows: false,
	animateScroll: true,
	animateDuration: 200,
	mouseWheelSpeed: 200,
	keyboardSpeed: 120,
	/* This next parameter is new to jScrollpane-custom */
	animateSteps: true


Both the minified version and the plain source code are available on my github project page.

More ?