gpt4 book ai didi

jquery - IE8 CurvyCorners.net Jquery 错误 exec(1...) 为 null 或不是对象

转载 作者:行者123 更新时间:2023-12-01 05:07:18 25 4
gpt4 key购买 nike

在我正在工作的网站上,我正在使用 CurvyCorners.net jQuery 插件,圆角在 Firefox/safari/ie7 兼容模式下工作...当我在 IE8 中加载页面时,出现 JS 错误,并且脚本不执行。相关 URL/脚本的链接是:http://tccyclist.com/modx/index.php?id=16

错误:`

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 作为背景图像,但我不确定如何处理他在那里描述的内容。任何人都可以提供正确方向的任何指示吗?

最佳答案

关于jquery - IE8 CurvyCorners.net Jquery 错误 exec(1...) 为 null 或不是对象,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4473838/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com