The error says:
TypeError: $drag[0] is undefined maxY = trackHeight - $drag[0].offsetHeight; No one came across a case?
I initialize jScrollPane like this:
$("#test").jScrollPane(); upd [1]
strange, everything seems to be normal., I connect all the necessary scripts:
<!-- jScrollPane & MouseWheel http://jscrollpane.kelvinluck.com --> <script type="text/javascript" src="plugins/jscrollpane/jquery.mousewheel.js"></script> <script type="text/javascript" src="plugins/jscrollpane/jquery.em.js"></script> <script type="text/javascript" src="plugins/jscrollpane/mwheelIntent.js"></script> <script type="text/javascript" src="plugins/jscrollpane/jquery.jscrollpane.min.js"></script> <link type="text/css" rel="stylesheet" href="plugins/jscrollpane/jquery.jscrollpane.css" media="all" /> <!-- // END jScrollPane & MouseWheel --> the jquery.em.js and mwheelIntent.js optional, so if I delete or comment them out, nothing changes.
In general, the initialization result:
<div style="width: 100px; height: 100px; overflow: hidden; padding: 0px;" id="test"> lorem ipsum ... очень много lorem ipsum <div class="jspContainer" style="width: 100px; height: 100px;"> <div class="jspPane" style="padding: 0px; top: 0px; width: 100px;"></div> </div> </div> As you can see, a div appeared below, in which there is another div , but this is not the point, look at the picture: 
Alas. Maybe this miracle still need some pictures to load or themes?
undefined's any scriptter encountered, but a little more code won't hurt - Specter$(document).ready(function(){ $("#test").jScrollPane(); });- Smash