看看这个页面: http://pearl.tinderfields.com/

在IE6菜单背景图片加载每个用户将鼠标悬停的菜单项,这显然是制作很垃圾看菜单的时间。

时有什么特别的理由,为什么IE6将重新加载每个悬停的形象呢?

有帮助吗?

解决方案

<强>阅读本

  

http://www.adobe.com /cfusion/communityengine/index.cfm?event=showdetails&productId=1&postId=1104

<script type="text/javascript">
try {
 document.execCommand('BackgroundImageCache', false, true);
} catch(e) {}
</script>

或尝试CSS方式

html { 
filter: expression(document.execCommand("BackgroundImageCache", false, true)); 
}

希望这有助于!

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top