Fix for super annoying cursor flickering in IE6
I just finished coding up a pretty complex page (lots of JavaScript and non standard CSS positioning). As usual, I opened up in IE6 and half the page isn't even visible. Add a couple of zoom:1; and a few more tweaks and its all good. Except for the cursor, it was all messed up and flickering as you moved your mouse around. Links weren't triggering the pointer cursor, etc, etc, etc.
Well this little piece of JavaScript fixed it all. I don't really know what it does other than it fixes the cursor!
try {
document.execCommand('BackgroundImageCache', false, true);
}
catch (e) {}
blog comments powered by Disqus