Re:Midnight.js: a jQuery plugin to switch headers based on t...
by RobertoGonzalez on Friday September 26, 2014 @06:14PM
(#8375185)
We ended up using SmoothScroll on Windows (https://gist.github.com/salipro4ever/35ba6d9e61cade99a0c2), which helps us demonstrate the effect a lot better on the project page. It captures the mousewheel event and adds some tweening to make it scroll smoothly.
It does break easily if you have a non-standard mouse config, however, so I can't quite recommend the library unless there's a really good reason for it.
It does break easily if you have a non-standard mouse config, however, so I can't quite recommend the library unless there's a really good reason for it.