Skip to content

philippze/jquery.scrollbuttons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jquery.scrollbuttons

Scroll with javascript using buttons instead of the scollbar.

Usage

  1. Include jQuery >= 1.6

  2. Include jquery.scrollbuttons.js

  3. Call the plugin

    $('#scrollableArea').scrollButtons();

There is an example page here.

Options

up: Selector for the up-button

down: Selector for the down-button

velocity: Scrolling velocity in pixel per second

maxDuration: Maximum duration of the scrolling

License

This plugin is released under the MIT license.

Similar plugins

This plugin is similar to the jquery.scrollable plugin. Differences are:

  • This plugin does not provide a customized scrollbar, but only buttons for scrolling.
  • With this plugin, scrolling with buttons is smoth, while with the jquery.scrollable plugin the scrolling with buttons happens stepwise.
  • This plugin does not affect scrolling with the mouswheel while this is switched off by default when using the jquery.scrollable plugin.

Please help to improve this plugin

Usage of this plugin should be very simple. However, for sure that there are situations where this plugin fails or is difficult to use. Please tell me if you discover such a situation and write an email to philipp@neue-musik.com or open an issue.

About

Scroll with javascript using buttons instead of the scollbar.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published