1. Css处理:
html { filter: expression(document.execCommand("BackgroundImageCache", false, true)); }
( 缺点:expression 影响性能 )
2. JavaScript处理:
try{
document.execCommand('BackgroundImageCache', false, true);
}
catch(e){}
3. 针对IE6比较完美的Css方案:
html {
zoom:expression(function(ele){
document.execCommand('BackgroundImageCache', false, true);
ele.style.zoom = '1';
}(this));
}
浙公网安备 33010602011771号