鼠标移到表格单元上时,该表格单元的背景变色

<table   border="1"   width="40%">  
  <tr   onmouseover="changeColor(this)"   onmouseout="this.bgColor='white'"><td   >Line   1</td></tr>  
  <tr   onmouseover="changeColor(this)"   onmouseout="this.bgColor='white'"><td>Line   2</td></tr>  
  <tr   onmouseover="changeColor(this)"   onmouseout="this.bgColor='white'"><td>Line   3</td></tr>  
  </table>  

posted on 2008-12-12 23:59 丁克设计 阅读(307) 评论(0)  编辑  收藏 所属分类: JavaScript技术文档


只有注册用户登录后才能发表评论。


网站导航:
 
<2025年4月>
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910

导航

留言簿(6)

随笔档案

文章分类

文章档案

搜索

最新评论

阅读排行榜