I am using the nicescroll plugin. http://areaaperta.com/nicescroll/
I have little doubt. When the page is loaded, I see my default scrollbar in the browser, and then the nicescroll panel is displayed. I want to apply the nicescroll panel to the whole document, and I have the following code
var nice = $("body").niceScroll({ preservenativescrolling: false, cursorwidth: '8px', cursorborder: 'none', cursorborderradius:'0px', cursorcolor:"#39CCDB", autohidemode: false, background:"#999999" });
If I set autohidemode to true, I don't see the default scrollbar in the browser. But I want the nicescroll panel to always be visible.
Does anyone know why this is happening? Thanks
source share