jquery - Anyway to make html/body scroll range shorter than the page height with niceScroll -


is there way make scrolling area height of nice scroll shorter page height starts after nav , end before page bottom? tried jsfiddle example ( code page , view page ) not solution 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 }); 


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -