I'm using niceScroll jQuery plugin to replace common browser scrollbars in overflowing <div>'s. The plugin is working good, but I can't get it to work and display the scroll rail always (even if the content is not exceeding <div> bounds). My final configuration is:
$(document).ready(function () {
$(".div-wrapper").niceScroll({
cursorcolor: "#333",
cursoropacitymin: 0.3,
background: "#bbb",
cursorborder: "0",
autohidemode: false,
cursorminheight: 30
});
};
I've tried to fire $(".div-wrapper").getNiceScroll().show() but it doesn't seem to work either.
Any help would be appreciated, thanks