;(function($){
$.fn.extend({
hoverBgColor:function(color) {//参数是颜色的值;
return this.hover(function(){
$(this).css("backgroundColor",color);
},function(){
$(this).css("backgroundColor","");
});
}
});
})(jQuery);
$.fn.extend({
hoverBgColor:function(color) {//参数是颜色的值;
return this.hover(function(){
$(this).css("backgroundColor",color);
},function(){
$(this).css("backgroundColor","");
});
}
});
})(jQuery);