jQuery Innerfade - 在 IE7 上奇怪地淡出
我正在开发一个新网站 http://architect.sitesbyjoe.com 并且我正在使用网站主页上的 innerfade 插件。由于某种原因,褪色缓慢且不稳定。
JavaScript 方面唯一的其他东西是 Fancy Zoom,但我已经删除了它等,没有任何改变。
有什么想法吗?其他帖子都指向 CSS 问题......
I'm wrapping up a new site, http://architect.sitesbyjoe.com and I'm using the innerfade plugin on the site's homepage. For some reason, the fading is slow and choppy.
The only other thing JavaScript-wise is the Fancy Zoom, but I've already removed it etc with no change.
Any thoughts? Other posts are pointing to CSS issues....
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我无法控制自己,我仍然在想——这样的内心淡出是不是有点过分了? (我注意到你只将它用于登陆页面,不是吗?)
我用大约 20 行 jQuery 代码做了同样的事情(而且它有点可配置:)) - 如果你有兴趣,我可以发布它:)
另外,在 Google Chrome 中动画仍然感觉有点不稳定。
I can't help myself, I still wonder - isn't that innerfade tad overkill? (I noticed you use it only for the landing page, don't you?)
I did the very same with like 20 lines of jQuery code (and it's a bit configurable :) ) - if you're interested, I could post it :)
Also, the animation still feels a bit choppy in Google chrome.
我用 firebug 扩展在 FF 中打开了你的主页,启用了控制台。它以尽可能快的滚动速度抛出此错误:
this.GetObj(this.divID) 为 null
https://server.iad.liveperson.net/hcp/ html/mTag.js?site=61775231
第 1
行 this.GetObj(this.divID) 为 null
https://server.iad.liveperson.net/hcp/ html/mTag.js?site=61775231
第 1 行
也许该函数正在消耗您的 cpu 周期?
I opened your main page in FF with firebug extension, enabled the console. It is throwing this error about as fast as it can scroll:
this.GetObj(this.divID) is null
https://server.iad.liveperson.net/hcp/html/mTag.js?site=61775231
Line 1
this.GetObj(this.divID) is null
https://server.iad.liveperson.net/hcp/html/mTag.js?site=61775231
Line 1
Maybe that function is eating away at your cpu cycles?
问题是浮动定位和绝对定位的结合。我删除了两者中的一个,事情又开始正常了!
The problem was a combination of floating and absolute positioning. I removed one of the two and things started behaving again!