模板web属性-分页预览-为该模板单独设置-添加一个加载结束后事件
悬浮变色.rar
$(".x-table tr[tridx!='0']").mouseover(function(){
//.x-table限制表格部分,tridx!='0'可以排除掉标题行 window.color=$(this).find("td").css("background");
//将当前颜色赋值给全局变量color
$(this).find("td").css("background","yellow");
//将当前行下的所有td的背景色变为黄色
})
$(".x-table tr[tridx!='0']").mouseout(function(){
$(this).find("td").css("background",color);
//将当前行下的所有td的背景色变为原色
})