Jan 15

Fix for super annoying cursor flickering in IE6

A JavaScript snippet to fix the issue.

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) {}

Tags:

Powered by my hackings on Django-Mingus a Django project, PostgreSQL, memcached, nginx, Apache + mod_wsgi, Ubuntu, Rackspace Cloud,...

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

html5 | top