Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/86.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
IE8 CurvyCorners.net Jquery错误exec(1…)为空或不是对象_Jquery_Internet Explorer_Jquery Ui_Internet Explorer 8_Rounded Corners - Fatal编程技术网

IE8 CurvyCorners.net Jquery错误exec(1…)为空或不是对象

IE8 CurvyCorners.net Jquery错误exec(1…)为空或不是对象,jquery,internet-explorer,jquery-ui,internet-explorer-8,rounded-corners,Jquery,Internet Explorer,Jquery Ui,Internet Explorer 8,Rounded Corners,在我使用CurvyCorners.net jQuery插件的网站上,圆角在Firefox/safari/ie7兼容模式下工作。。。当我在IE8中加载页面时,我得到一个JS错误,脚本不会执行。有关URL/脚本的链接为: 错误:` Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NE

在我使用CurvyCorners.net jQuery插件的网站上,圆角在Firefox/safari/ie7兼容模式下工作。。。当我在IE8中加载页面时,我得到一个JS错误,脚本不会执行。有关URL/脚本的链接为:

错误:`

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; HPNTDF; InfoPath.2; .NET4.0C)
Timestamp: Fri, 17 Dec 2010 18:48:46 UTC


Message: 'exec(...).1' is null or not an object
Line: 33
Char: 39
Code: 0
URI: https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js
`

谷歌搜索让我想到:

 For those of you using curvycorners.js version 2.0.4 from the zip file and getting an IE8 error 'exec(...).1' is null or not an object ... you may want to check to see if your div has a microsoft.gradient filter on it. This version of the script breaks on line 1 char 13,871...

var n=filter?parseInt(/alpha\(opacity.(\d+)\)/.exec(filter)[1])

...is expecting you have applied an alpha (opacity) filter and breaks if you have applied a gradient! I didn't check this on the beta or SVN (I believe these versions fail silently).

HTH- 
我使用一个透明的PNG作为背景图像,但我不确定如何处理他在那里描述的内容。有人能提供正确方向的指针吗?

我在这里找到了解决方法: