First of all, you have a missing bracket at the end - could this be your problem?
Setting autohidemode to false means that it does not disappear when the user stops scrolling, and then reappears while scrolling. Unfortunately, this does not mean that it is visible if the content is not full.
As a workaround, you can try making the element with id = ascrail2000 explicitly visible after your .niceScroll () call with something like this:
$(document).ready(function () { $(".div-wrapper").niceScroll({ cursorcolor: "#333", cursoropacitymin: 0.3, background: "#bbb", cursorborder: "0", autohidemode: false, cursorminheight: 30 }); $('#ascrail2000').show(); });
VIEW CONTINUOUS GUY IN THE LAST LINE
You may also need elements from its children:
$('#ascrail2000 *').show();
(Make sure in your case the id of the ascrail2000 element.)
UPDATE: as stated in veritas, using the more general div[id^='ascrail']
selector instead of #ascrail2000
, it works on more than one nicescroll on one page, so the above can be done using JavaScript:
$("div[id^='ascrail']").show();
or in CSS:
div[id^='ascrail'] { display: block; }
or if the above does not work:
div[id^='ascrail'] { display: block !important; }
This is not the most elegant solution, but I'm afraid this is currently the only way to solve this problem, because there is no way to select this behavior in the nicescroll plugin. Fortunately, nicescroll is open source and available on GitHub , so you can easily fork it and add this option or post a feature request on GitHub.