表格美化之鼠标经过表格时高亮当前条颜色

2014-06-09
浏览
导读:效果:鼠标经过表格的某一行时,那行就会被高量显示 代码: Html代码 table width=100% border=1 cellpadding=3 cellspacing=0 bordercolor=#efefef bgcolor=#e

效果:鼠标经过表格的某一行时,那行就会被高量显示

代码:

Html代码

<table width="100%" border="1" cellpadding="3" cellspacing="0" bordercolor="#efefef"  bgcolor="#efefef">
<tr>
<td  onMouseOut="this.bgColor='#efefef';this.borderColor='#efefef'"; onMouseOver="this.bgColor='#cccccc';  this.borderColor='#000033'"><center align="left">鼠标经过效果</center></td>
</tr>
<tr>
<td onMouseOut="this.bgColor='#efefef';this.borderColor='#efefef'";  onMouseOver="this.bgColor='#cccccc'; this.borderColor='#000033'">鼠标经过效果</td>
</tr>
<tr>
<td onMouseOut="this.bgColor='#efefef';this.borderColor='#efefef'";  onMouseOver="this.bgColor='#cccccc'; this.borderColor='#000033'">鼠标经过效果</td>
</tr>
<tr>
<td onMouseOut="this.bgColor='#efefef';this.borderColor='#efefef'";  onMouseOver="this.bgColor='#cccccc'; this.borderColor='#000033'">鼠标经过效果</td>
</tr>
<tr>
<td onMouseOut="this.bgColor='#efefef';this.borderColor='#efefef'";  onMouseOver="this.bgColor='#cccccc'; this.borderColor='#000033'">鼠标经过效果</td>
</tr>
</table>

js代码实现轮播图

js实现上传按钮并显示缩略图小轮子

js实现无缝轮播图特效

Node.js API详解之 os模块用法实例分析

详解react组件通讯方式(多种)