Skip to content
ScrollSide aims to prevent the problem presented by mousewheel scrolling on horizontal pages by hijacking the mousewheel event. When you’ve included ScrollSide into your site, your user can use the mouse wheel to scroll up to go left and down to move right.
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Docs
Source
README.md
package.yml

README.md

ScrollSide

ScrollSide aims to prevent the problem presented by mousewheel scrolling on horizontal pages by hijacking the mousewheel event. When you’ve included ScrollSide into your site, your user can use the mouse wheel to scroll up to go left and down to move right.

How to Use

ScrollSide should be initialized when you'd like the mousewheel event to be highjacked -- most likely as soon as possible.

Javascript

var ss = new ScrollSide(document.body);

For specific usage and options, please read the documentation or visit http://davidwalsh.name/js/scrollside

Something went wrong with that request. Please try again.