<style>
.div1{width:100px;height:100px;background-image:url
(http://community.csdn.net/images/CSDN_logo.GIF);}
.div2{width:100px;height:100px;background-image:url
(http://community.csdn.net/images/jspd_wdzx_sqgg_ad.gif);}
</style><div class=div1 onmouseover=this.className='div2' onmouseout=this.className='div1'></div>
.div1{width:100px;height:100px;background-image:url
(http://community.csdn.net/images/CSDN_logo.GIF);}
.div2{width:100px;height:100px;background-image:url
(http://community.csdn.net/images/jspd_wdzx_sqgg_ad.gif);}
</style><div class=div1 onmouseover=this.className='div2' onmouseout=this.className='div1'></div>
解决方案 »
- 我在用showModalDialog 的时候,浏览器总是打开一个新的标签页,而不是弹出窗口,这个怎么解决?
- 怎么把多input的值相加,做字符串连接的相加..
- 内嵌样式
- firefox中button按钮怎么响应onclick事件
- 大家帮我看看js动态加载事件后的问题!!
- [五一散分]分享下午写的一段小程序
- java表格打印问题
- 方本框得赋值的问题?(急)
- 瞬间惊呆了看到这图。
- 关于函数的回调
- 导航菜单超长了, 需要左右滚动,
- Response.Write ("<script language=javascript> javascript:history.go(-1)</script>");能实现这样的功能吗
document.tu.tu1.background="a.jpg"
}
function bb(){
document.tu.tu1.background="b.jpg"
}<table width="37%" border="1" id="tu">
<tr>
<td height="131" background="18%5B1%5D.jpg" id="tu1" onMouseOut="aa()" onMouseover="bb()"></td>
</tr>
</table>