IE 中的 jquery png 问题

发布于 2024-08-17 05:00:42 字数 239 浏览 2 评论 0原文

如果您在 IE7 或 8 中查看此内容,您会发现背景在淡入时为黑色,然后迅速消失。有解决办法吗?

http://nettuts.s3.cdn.plus.org/234_tooltip/ Demo/index.html

非常感谢! C

If you view this in IE7 or 8 you will see that the background, when fading in is black, then it rapidly disappoears. Is there a fix for this?

http://nettuts.s3.cdn.plus.org/234_tooltip/Demo/index.html

Many thanks in advance!
C

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

尽揽少女心 2024-08-24 05:00:42

刚刚看了你的消息来源,我不能确定。代码看起来足够健全。

我猜该区域的背景是黑色的,并且设置了不透明度(很难从我正在查看的源中准确分辨)您可以在原始帖子中包含更多详细信息吗?发布你的相关 CSS 和插件代码 - 它看起来不太大,所以没有什么困难。

你能否放慢速度,并(暂时)使水滴变大,以便更容易看到发生了什么。我还想看看 jQuery 1.3.2 是否有同样的效果。 (您当前使用的是 1.3.1)

另一件事要尝试的是阻止动画,以便它在动画开始位置弹出。那么它看起来是什么样子呢?

Just had a look at your source, and I can't really say for sure. The code looks sound enough.

I'm guessing the backgound of that area is black with an opacity set (hard to tell exactly from the source I'm viewing) Can you include more details in your original post? Post your relevant CSS and plugin code - it doesn't appear too big, so there's no hard im this.

Can you slow it down, and make the drop bigger (temporarily) so its easier to see what's going on. I would also see if the same effect is apparent with jQuery 1.3.2. (you are currently using 1.3.1)

Another thing to try, is to block the animation, so it pops up in the start-of-animation position. What does it look like then?

许久 2024-08-24 05:00:42

也许这有帮助: http://blog.pengoworks.com/index.cfm/2009/2/17/Fading-a-24bit-transparent-PNG-in-IE7

因为您正在尝试使用 Alpha 淡入 PNG -透明度。

通过 https://stackoverflow.com/revisions/1792631/list 找到

Maybe this helps: http://blog.pengoworks.com/index.cfm/2009/2/17/Fading-a-24bit-transparent-PNG-in-IE7

Because you're trying to fade-in a PNG with alpha-transparency.

Found via https://stackoverflow.com/revisions/1792631/list

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文