Tip: Click lines to highlight, hold ctrl/cmd to multi-select

Fix IE6 background image flicker (22-Aug @ 09:09)

brentg

Syntax Highlighted Code

  1. <!--[if lte IE 6]>
  2. <script type="text/javascript">
  3.       //Fix IE6 background image flicker
  4.       function fixIE6flicker(fix) {
  5.       try {
  6.           document.execCommand("BackgroundImageCache", false, fix);
  7.       } catch(err) { }
  8.       }
  9.       window.onload = function() { fixIE6flicker(true); }
  10.  </script>
  11.  <![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]-->    

Permalink: http://codedumper.com/afiqi