<table border="1">
<tr>
<td style="backGround-color:blue" onmouseover="this.style.backgroundColor='red'" onmouseout="this.style.backgroundColor='blue'">sdfsd
</td>
<td style="backGround-color:blue" onmouseover="this.style.backgroundColor='red'" onmouseout="this.style.backgroundColor='blue'">sdfsd
</td>
</tr>
<tr>
<td style="backGround-color:blue" onmouseover="this.style.backgroundColor='red'" onmouseout="this.style.backgroundColor='blue'">sdfsd
</td>
<td style="backGround-color:blue" onmouseover="this.style.backgroundColor='red'" onmouseout="this.style.backgroundColor='blue'">sdfsd
</td>
</tr>
</table>
<tr>
<td style="backGround-color:blue" onmouseover="this.style.backgroundColor='red'" onmouseout="this.style.backgroundColor='blue'">sdfsd
</td>
<td style="backGround-color:blue" onmouseover="this.style.backgroundColor='red'" onmouseout="this.style.backgroundColor='blue'">sdfsd
</td>
</tr>
<tr>
<td style="backGround-color:blue" onmouseover="this.style.backgroundColor='red'" onmouseout="this.style.backgroundColor='blue'">sdfsd
</td>
<td style="backGround-color:blue" onmouseover="this.style.backgroundColor='red'" onmouseout="this.style.backgroundColor='blue'">sdfsd
</td>
</tr>
</table>
在document.onmouseup事件中向服务器传递保存的线的数据,
可以是XML格式,可以是String,下次打开时将画线的位置重新描绘即可
onmouseover="this.style.backgroundImage='url(test.gif)'"
这种方法