Tip: Click lines to highlight, hold ctrl/cmd to multi-select
Fix IE6 background image flicker (22-Aug @ 09:09)
Syntax Highlighted Code
- <!--[if lte IE 6]>
- <script type="text/javascript">
- //Fix IE6 background image flicker
- function fixIE6flicker(fix) {
- try {
- document.execCommand("BackgroundImageCache", false, fix);
- } catch(err) { }
- }
- window.onload = function() { fixIE6flicker(true); }
- </script>
- <![endif]-->
Plain Code
<!--[if lte IE 6]>
<script type="text/javascript">
//Fix IE6 background image flicker
function fixIE6flicker(fix) {
try {
document.execCommand("BackgroundImageCache", false, fix);
} catch(err) { }
}
window.onload = function() { fixIE6flicker(true); }
</script>
<![endif]-->