是不是鼠标划过动态改变表格颜色啊?可参看
<p>javascript:this.bgColor</p>
<table width="50%" height="300" border="1" align="center" bordercolor="#000000" style="border-collapse: collapse">
<tr>
<td width="10%" onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td width="9%" onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td width="10%" onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td width="10%" onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td width="10%" onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td width="10%" onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td width="10%" onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td width="10%" onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td width="21%" onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
</tr>
<tr>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
</tr>
<tr>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
</tr>
<tr>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
</tr>
<tr>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
</tr>
<tr>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
</tr>
<tr>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
</tr>
<tr>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
</tr>
<tr>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
<td onmouseover=javascript:this.bgColor='#768495' onmouseout=javascript:this.bgColor='#FFFFFF'> </td>
</tr>
</table>
演示在
okxxl.webspace4free.biz/a455.html