我已经安装了新的jScrollPane,并且我的滚动条可以在除 IE8 之外的所有浏览器上运行!旧版本也发生了同样的事情。我不断收到此错误:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)
Timestamp: Wed, 22 Sep 2010 14:14:38 UTC
Message: Invalid argument.
Line: 4618
Char: 4
Code: 0
URI: http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.js?ver=3.0.1
当我在 IE8 上打开演示页面时,它运行良好。此外,我的电话没有什么奇怪的:
jQuery(document).ready(function($){
$('#content').jScrollPane({
showArrows: true,
verticalDragMinHeight: 20,
verticalDragMaxHeight: 20
});
});
内容的css是:
#content {
height: 300px;
overflow: auto;
width: 100%;
}