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.

darkwing/ScrollSide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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.

Resources

Stars

Watchers

Forks

Packages

No packages published