浏览器速度慢,jquery 动画。其他浏览器运行良好

发布于 2024-10-06 13:36:07 字数 533 浏览 0 评论 0原文

大家好 我为制作动画菜单而制作的一个简单的 jquery 插件存在兼容性问题; 您可以在这里找到完整的网站:

主网站
我的图书馆
“bootstrap”文件

问题是:红色矩形在 Firefox 中表现良好,歌剧、镀铬...等 我只有探索者的问题。看起来脚本运行良好,但是动画很分散并且非常非常慢......有什么想法吗?

我很抱歉没有在这里放置代码示例,但我绝对不知道在哪里寻找问题。

谢谢你们

编辑:我发现问题是我临时放在页面中的大图像。现在我将其删除,一切正常。 我无法理解,但这就是所有人:)

Hi everyone
I have a compatibility problem with a simple jquery plugin i've done for making an animated menu;
You can find the full site here:

Main site
My Library
the "bootstrap" file

The problem is: the red rectangle animate well throught firefox, opera, chrome...etc.
I've only problem with explorer. It seems that the script works well, but the animation is scattered and very very slow....any idea?

I'm sorry for not having put code sample here, but i definetly don't know where look for the problem.

Thank you guys

Edit: I've found out that the problem was the big image i've temporary put in the page. Now I removed it and everythings works well.
I cannot understand it, but that's all folks :)

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

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

发布评论

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

评论(1

梦明 2024-10-13 13:36:07

可能这里没有可以修复的错误。

好吧,让我们面对现实吧,如果涉及到 JavaScript 性能,IE(至少 9 版)很糟糕。您可以尝试进一步优化您的脚本,但我没想到会有奇迹发生。

另一种选择是使用另一个插件,IE8 可能会表现得更好。

It could be that there's no bug you can fix here.

Well, let's face it, IE (lt 9 at least) sucks if it comes to javascript performance. You could try to optimize your scripts further, but I wouldn't expect a miracle to happen.

Another option could be to use another PlugIn, with which IE8 might perform better.

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