I am facing the error while loading dynamic data from a gallery plugin, the nicescroller doesn't shows up. The scroller is not visible but if i right click to inspect any element or use the zoom property of the chrome browser, it automatically shows up.
Here's what I've tried:
<script type="text/javascript">
$(document).ready(function() {
$("html").niceScroll({cursorcolor:"#000000", cursorwidth:"10px", cursoropacitymin:"0", zindex:"99999", scrollspeed:"120"});
$("#my-div").scroll(function(){
$("#my-div").getNiceScroll().resize();
});
});
</script>
Any help would be much appreciated...