HTML怎样才能让表格每一行成为一个链接
<tr onMouseOver="this.style.backgroundColor='#9fc5db'" onMouseOut="this.style.backgroundColor='#1B2838'" oncilck="doLink('http://www.sina.com.cn');">
<td>
<img src="1.jpg">
</td>
<td>
gamename
</td>
<td>
gameprice
</td>
</tr>
<script language ="javascript">
function doLink(strURL)
{
window.location = strURL;
}
</script>
在论坛里搜到有这种方法和另外一种直接onclick="window.locate.href=' ' ",都试过,然后都没有用。行变色的效果是可以的,就是链接点击没反应。我猜有可能是td里面的内容覆盖在行上面导致点不到?求大神教我如何处理,谢谢!