Posted By

brentg on 09/26/07


Tagged

css javascript ie flicker bugs imageflicker


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

alvaroisorna
robotoverlord
francisre
markupmark


JS FIX - IE6 Background image flickering


 / Published in: JavaScript
 

JS Fix for IE6 background image flickering on mouseover's

  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  

You need to login to post a comment.