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.
var ss = new ScrollSide(document.body);
For specific usage and options, please read the documentation or visit http://davidwalsh.name/js/scrollside
A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.
Found a bug in this plugin? Please report it this repository's Github Issues.blog comments powered by Disqus