Skip to content Skip to sidebar Skip to footer

How To Enable Hover On A Div For IE6 Using Jquery In Minmal Code?

I just want to implement hover on a single div(for IE 6). what is the simplest , lightest, solution in jquery?
i will add this script

Solution 1:

Use hover event

$(".hoverforie").hover(
      function () {
        // do your code for mouse over
      }, 
      function () {
        // do your code for mouse out
      }
    );

Solution 2:

And if you just want to apply it specifically for IE6... (although I think the methods are deprecated)

if ($.browser.msie && $.browser.version=="6.0")
{
    ...apply the hover function from @adamantium
}

Post a Comment for "How To Enable Hover On A Div For IE6 Using Jquery In Minmal Code?"