public
Last active

  • Download Gist
global_ie.css
CSS
1 2 3 4 5 6 7 8 9 10 11
/*IE6 specific code to get hover working for any element*/
#nav li,
.something-that-should-support-hover {
_azimuth: expression(
this.onmousedown = this.onmousedown || new Function("this.className += ' active'"),
this.onmouseup = this.onmouseup || new Function("this.className = this.className.replace('active','')"),
this.onmouseenter = this.onmouseenter || new Function("this.className += ' hover'"),
this.onmouseleave = this.onmouseleave || new Function("this.className = this.className.replace('hover','')"),
'inherit'
);
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.