No IE Background Image Flicker, Sir


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

Swiped, with great gratitude, from http://www.mister-pixel.com (RIP)


Copy this code and paste it in your HTML
  1. <!--[if IE 6]>
  2. <script type="text/javascript" charset="utf-8">
  3. //Swiped, with great gratitude, from http://www.mister-pixel.com (RIP)
  4. //<![CDATA[
  5. try {
  6. document.execCommand("BackgroundImageCache", false, true);
  7. } catch(err) {}
  8. //]]>
  9. </script>
  10. <![endif]-->

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.