IE7 中的网站损坏 - 如何寻找线索?
目前在一个网站上工作 - 我们周五在 iis6 中启用了压缩。还有一些 css / javascript 文件已被缩小...
现在回到周一,该网站似乎已停止在 IE7 中工作,并且在恢复更改后,该网站仍然无法在 IE7 和 IE8 中工作。
有谁对我们可以从哪里开始寻找错误所在的线索有任何提示吗?页面有时会在刷新后显示,但没有任何内容可点击......
非常感谢
currently working on a site - we enabled compression was in iis6 on friday. also some css / javascript files have been minified...
Now back on monday and it appears the site has stopped working in IE7 and after reverting the changes the site still fails to work in IE7 and IE8.
Does anyone have any tips as to where we can start looking for clues as to where the error is? The page sometimes displays after a refresh but nothing is clickable....
Many thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
问题是带有 defer="defer" 的 javascript,导致网站失败,但我们尝试在 javascript 文件上删除此属性。
然而,它要求浏览器 - IE 7 关闭并完全重新打开,网站才能正常工作!
希望这对将来的人有帮助。
The Issue was javascript with the defer="defer" which caused the site to fail, however we tried removing this attribute on javascript files.
However it required that the browser - IE 7 was closed fully reopened before the site worked properly!
hope this helps somone in the future.
尝试查看是否有任何 JS 错误,显示开发控制台 (F12) 并尝试在浏览器模式和文档模式之间切换,使用 HTML 文档类型(怪异、标准、瞬态)。
Try to see if there are any JS errors, display dev console (F12) and try to switch between Browser mode and Document Mode, play with HTML doctype (quirks, standards, transient).