/ Published in: jQuery
Fix ie6 mouseover
Expand |
Embed | Plain Text
/* ------------------------------------------------------------------ Hover function --------------------------------------------------- */ $.fn.addHover = function(classOver) { var classHover = classOver || "over"; return this.hover( function(){ $(this).addClass(classHover); }, function(){ $("."+classHover).removeClass(classHover); } ); };
You need to login to post a comment.
