【发布时间】:2010-09-22 23:54:10
【问题描述】:
我已经添加了新的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%;
}
【问题讨论】:
-
是的 - 如果没有演示页面,很难说出了什么问题。我在上面的代码中看不到任何不正确的地方...
标签: jquery internet-explorer-8 jscrollpane