我想在鼠标划过的时候
tr 的背景就变成其他颜色,
离开时返回原来的颜色.
请各位大侠帮帮忙忙...
[此贴子已经被作者于2007-7-7 21:56:01编辑过]
[CODE]
<table width="100" height="100">
<tr onmouseover="this.style.background='red'" onmouseout="this.style.background=''"><td>aaaaaaaaaaaaaaaaaaaaaaaaa</td></tr>
<tr onmouseover="this.style.background='red'" onmouseout="this.style.background=''"><td>aaaaaaaaaaaaaaaaaaaaaaaaa</td></tr>
<tr onmouseover="this.style.background='red'" onmouseout="this.style.background=''"><td>aaaaaaaaaaaaaaaaaaaaaaaaa</td></tr>
<tr onmouseover="this.style.background='red'" onmouseout="this.style.background=''"><td>aaaaaaaaaaaaaaaaaaaaaaaaa</td></tr>
<tr onmouseover="this.style.background='red'" onmouseout="this.style.background=''"><td>aaaaaaaaaaaaaaaaaaaaaaaaa</td></tr>
<tr onmouseover="this.style.background='red'" onmouseout="this.style.background=''"><td>aaaaaaaaaaaaaaaaaaaaaaaaa</td></tr>
<tr onmouseover="this.style.background='red'" onmouseout="this.style.background=''"><td>aaaaaaaaaaaaaaaaaaaaaaaaa</td></tr>
</table>[/CODE]
只会用笨方法