您的位置:首页 > Web前端 > JQuery

jquery特效 table鼠标滑过变色的实现代码

2013-10-02 09:48 681 查看
一例table鼠标经过变色的效果,本例由jquery来实现,有兴趣的朋友,研究下吧。

代码:

 

复制代码[/u]代码示例:
$('#<%=AllEvent.ClientID%> tr:not(:has("th"))').hover(function () { 

$bg = $(this).css('background-color'); 

$(this).css('background-color', '#ffc4c6'); 

}, 

function () { 

$(this).css('background-color', $bg); 

});
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: