<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>

解决方案 »

  1.   

    刚花一点时间写了一个只有客户端的http://stone.lanqiaobiz.com/js/.htm画线画好后保存到服务器的工作可以用AJAX来实现
    在document.onmouseup事件中向服务器传递保存的线的数据,
    可以是XML格式,可以是String,下次打开时将画线的位置重新描绘即可
      

  2.   

    发错贴了,晕!修改背景图片可以用
    onmouseover="this.style.backgroundImage='url(test.gif)'"
    这种方法
      

  3.   

    haha,我刚才就在想稻草人兄弟一定是发错了。