Is there a way to make the scrolling area height of nice scroll shorter than the page height so it starts after the nav and end before the page bottom? I tried that jsFiddle example ( code page , view page ) but this is not a solution for me"
var _nScroll = false;
if (typeof $.fn.niceScroll != 'undefined') {
_nScroll = {
horizrailenabled: false,
zindex: 2,
cursorborder: "none",
cursorwidth: "8px",
cursorcolor: "#515154",
background: "#cbcdd0",
autohidemode: false,
railoffset: {top:'50px',left:0}
};
$("html").niceScroll( _nScroll );
}
$(".nicescroll-rails").css({
'top': '70px',
'right': '7px',
'bottom': '50px',
'height': $(window).height() - 100
});