Comments on: Custom Scrollbars with jQuery https://www.designlunatic.com/2012/11/custom-scrollbars-with-jquery/ Just another WordPress site Tue, 03 May 2022 15:33:00 +0000 hourly 1 http://wordpress.org/?v=3.6.1 By: Charles https://www.designlunatic.com/2012/11/custom-scrollbars-with-jquery/#comment-260 Charles Thu, 12 Dec 2013 00:07:00 +0000 http://www.designlunatic.com/?p=1281#comment-260 :) keep up the good work!

]]>
By: Alexandre Smirnov https://www.designlunatic.com/2012/11/custom-scrollbars-with-jquery/#comment-259 Alexandre Smirnov Thu, 12 Dec 2013 00:03:00 +0000 http://www.designlunatic.com/?p=1281#comment-259 Yep, that seems like a pretty good way to fix it :)

]]>
By: Charles https://www.designlunatic.com/2012/11/custom-scrollbars-with-jquery/#comment-258 Charles Thu, 12 Dec 2013 00:00:00 +0000 http://www.designlunatic.com/?p=1281#comment-258 Without digging too deep: a simple solution to this would be to measure the total height of content (html, body, div, whatever) and compare it to window.height. If window.height is larger than content.height, just remove the scrollbar, othervise “re-install” scrollbar and make it visible. Quite simple and should take care of things! :)

]]>
By: Alexandre Smirnov https://www.designlunatic.com/2012/11/custom-scrollbars-with-jquery/#comment-257 Alexandre Smirnov Wed, 11 Dec 2013 23:52:00 +0000 http://www.designlunatic.com/?p=1281#comment-257 I’ve reproduced the error, but it seems it’s a Firefox-only thing. It works fine in Chrome. Using the element inspector also doesn’t yield anything useful – it’s as if the right-hand border of the content on the page was outside of the browser window, and I don’t know how that could be fixed with JS. Thanks for the heads-up, though!

]]>
By: Charles https://www.designlunatic.com/2012/11/custom-scrollbars-with-jquery/#comment-256 Charles Wed, 11 Dec 2013 23:39:00 +0000 http://www.designlunatic.com/?p=1281#comment-256 Hi! Looks cool but found a bug. When holding ctrl and scrolling (zooming in out) in _at least_ Firefox, the scrollbar moves to the side. When resetting the zoom level to zero, the scrollbar still appears outside window-frame. You should have a look at it..//C

]]>
By: nicolausai https://www.designlunatic.com/2012/11/custom-scrollbars-with-jquery/#comment-251 nicolausai Tue, 18 Jun 2013 19:13:00 +0000 http://www.designlunatic.com/?p=1281#comment-251 there are some plugins that do that, try this one: http://noraesae.github.io/perfect-scrollbar/

]]>
By: EricPorter https://www.designlunatic.com/2012/11/custom-scrollbars-with-jquery/#comment-249 EricPorter Sun, 16 Jun 2013 11:36:00 +0000 http://www.designlunatic.com/?p=1281#comment-249 Wonderful tool. Thanks a lot.

My one caveat is that I have a one page site and the nav jumps you around the page. This custom scrollbar doesn’t follow the new positioning. It just stays in place until dragged which then jerks the viewport back to where the scrollbar was.

Got any ideas?

]]>
By: Piri https://www.designlunatic.com/2012/11/custom-scrollbars-with-jquery/#comment-247 Piri Mon, 03 Jun 2013 15:32:00 +0000 http://www.designlunatic.com/?p=1281#comment-247 Thx a lot, but is it possible to have this scrollbar inside a DIV, and have multiple scrollbars on one screen for different divs?

Thx for your help

]]>
By: John Motyl Jr https://www.designlunatic.com/2012/11/custom-scrollbars-with-jquery/#comment-245 John Motyl Jr Sat, 25 May 2013 09:11:00 +0000 http://www.designlunatic.com/?p=1281#comment-245 What about using $.remove( ) on the created element and unbinding?

]]>
By: Szymon https://www.designlunatic.com/2012/11/custom-scrollbars-with-jquery/#comment-237 Szymon Fri, 03 May 2013 19:08:00 +0000 http://www.designlunatic.com/?p=1281#comment-237 Is there any way to disable/hide scrollbar
if(something){
disablescroll
}

]]>