table中当鼠标经过tr

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>鼠标经过我效果</title>
</head>
<body>
<!-- tr背景鼠标经过效果-->
<script language=javascript>
function changebg(obj,cl){
var bgcolor;
if(cl=="0"){bgcolor="#E2EDFC";}else{bgcolor="#F8FBFE";}
obj.style.backgroundColor=bgcolor;
}
</script>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="fafafa">
<tr onmousemove=javascript:changebg(this,0) 
style="backgroud-color:#f8fbfe" 
onmouseout=javascript:changebg(this,1)>
<td><a href="http://www.fangyuan80.com">鼠标经过我的家</a></td>
</tr>
<tr onmousemove=javascript:changebg(this,0) 
style="backgroud-color:#f8fbfe" 
onmouseout=javascript:changebg(this,1)>
<td><a href="http://www.fangyuan80.com">鼠标经过我的家</a></td>
</tr>
<tr onmousemove=javascript:changebg(this,0) 
style="backgroud-color:#f8fbfe" 
onmouseout=javascript:changebg(this,1)>
<td><a href="http://www.fangyuan80.com">鼠标经过我的家</a></td>
</tr>
<tr onmousemove=javascript:changebg(this,0) 
style="backgroud-color:#f8fbfe" 
onmouseout=javascript:changebg(this,1)>
<td><a href="http://www.fangyuan80.com">鼠标经过我的家</a></td>
</tr>
</table>
<!-- tr背景鼠标经过效果-->
</body>
</html>