JS FIX - IE6 Background image flickering


/ Published in: JavaScript
Save to your folder(s)

JS Fix for IE6 background image flickering on mouseover's


Copy this code and paste it in your HTML
  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]-->

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.