IE7下标签切换时如何防止页面刷新?
对于特定网站(网络内部,以 XHTML 编码),IE6 中的行为是,每当窗口大小调整或恢复时,页面都会刷新。
由于 IE6 没有选项卡,我升级到了 IE7 - 但 IE7 的问题是,每当我们从一个选项卡切换到另一个选项卡时,它都会使活动选项卡的页面刷新,而且这种情况一直在发生。
经过一番谷歌搜索后,我找到了一个临时解决方案(在 IE 设置中禁用 Meta-Refresh 属性)。这在一定程度上解决了问题,但仍然会发生刷新。
有没有办法在标签切换时永久禁用页面刷新?
For a specific website (internal to network, coded in XHTML) the behavior in IE6 was that when ever the window is re-sized or restored the page refreshes.
Since IE6 doesn't have tabs I upgraded to IE7 - but the problem with IE7 is whenever we switch from one tab to another, its makes the active tab's page to refresh, and this happens all the time.
After googling a bit, I found a temporary solution, (to disable the Meta-Refresh property in IE settings). This has resolved the problem to some extent but still refreshes happens.
Is there a way to permanently disable the refreshing of page when tabs are switched ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在我看来,您的解决方案是使用以下内容:
否则我只会计划使用 IE8+ 作为所使用的浏览器,而不必担心它在 IE6 中的作用。
In my opinion your solution is to use something along the lines of:
Otherwise I would just plan on the IE8+ being the used browser and not worry about what it does in IE6 anymore.