No IE Background Image Flicker, Sir

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

Swiped, with great gratitude, from (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 (RIP)
  4. //<![CDATA[
  5. try {
  6. document.execCommand("BackgroundImageCache", false, true);
  7. } catch(err) {}
  8. //]]>
  9. </script>
  10. <![endif]-->

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.