【问题标题】:How do I reduce the flicker in IE on postback?如何减少回发时 IE 中的闪烁?
【发布时间】:2009-08-20 19:07:47
【问题描述】:
当页面回发时,IE 会导致非常不吸引人的闪烁或闪烁。在不使用 UpdatePanel 的情况下,如何减少或删除它?
大多数解决方案建议使用这样的页面转换:
<meta content="BlendTrans(Duration=0.1)" http-equiv="Page-Exit" />
我们已经成功使用它几年了,但它在 IE8 Beta 2 中被破坏了。
【问题讨论】:
标签:
html
internet-explorer
internet-explorer-8
【解决方案1】:
我想我已经找到了解决方案。它适用于 IE6、7 和 8b2。
<meta http-equiv="Page-Exit" content="Alpha(opacity=100)" />
这将停止闪烁。
【解决方案2】:
我不确定这是否是同一个问题,但我一直使用这个解决方案,并且它可以跨浏览器工作:
<!-- Fixes the "Flash of Unstyled Content" problem (info here: http://www.bluerobot.com/web/css/fouc.asp) -->
<script type="text/javascript"></script>