Re:NanoScroller.js - An easy-to-use jQuery scrollbar that lo...
by jamesflorentino on Wednesday December 07, 2011 @11:17AM
(#3324397)
Thanks! That seems pretty useful. Will include that in my next commit.
[ Parent
| on HN ]
Re:NanoScroller.js - An easy-to-use jQuery scrollbar that lo...
by sil3ntmac on Wednesday December 07, 2011 @01:56PM
(#3325256)
I implemented something similar here: https://github.com/joevennix/jScrollie
I agree that it is best to let the browser handle the scrolling mechanics. Then you simply hide the original scrollbar by having an embedded div hold the content with a width thats about 40px or so bigger than the outer, fixed width div ( and overflow: scroll-y ).