我已经设置了一个简单的滚动窗格 js 测试,但无法让它显示滚动条:
<link rel="stylesheet" href="styles/scrollpane.css" type="text/css" />
<script src="http://code.jquery.com/jquery-1.8.2.js"></script>
<script type="text/javascript" src="scripts/scrollpane.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('.scroll_pane').jScrollPane();
});
</script>
<style>
.scroll_pane {
height: 200px;
width: 300px;
border: 1px solid #000000;
font-size:12px;
overflow:auto;
}
</style>