动态显示图片-------------------100分 修改图片的src和表格的background就行了 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>Untitled Document</title><meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head><body><img src="http://expert.csdn.net/images/csdn.gif" onMouseOver="this.src='http://www.csdn.net/images/ad/vsnet_120.gif';tab.background='http://www.csdn.net/images/ad/vsnet_120.gif'"> <table id=tab width="100" border="1" cellpadding="0" cellspacing="0" > <tr> <td> </td> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> <td> </td> </tr></table></body></html> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>Untitled Document</title><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><script language=javascript>function test(){img1.src='http://www.csdn.net/images/ad/vsnet_120.gif';if(tab.background==""){ tab.background='http://www.csdn.net/images/ad/vsnet_120.gif'; }}</script></head><body><img id=img1 src="http://expert.csdn.net/images/csdn.gif" onMouseOver="test()"> <table id=tab width="100" border="1" cellpadding="0" cellspacing="0" > <tr> <td> </td> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> <td> </td> </tr></table></body></html> 用dreamweaver mx做把。很简单的。 下面这段代码一定行!!!<style>.class1{background-color:#666666; background-image:url('http://zhiin.jahee.com/images/logo1_1.gif'); background-repeat:no-repeat;}.class2{background-color:#166666; background-image:url('http://zhiin.jahee.com/images/logo1_2.gif'); background-repeat:no-repeat;}</style><body><table> <tr><td width=200 height=100 id=tdclass class=class1></td></tr></table><img src="http://zhiin.jahee.com/images/logo.gif" onMouseOver="this.src='http://zhiin.jahee.com/images/logo2.gif'; tdclass.className='class2'" onMouseOut="this.src='http://zhiin.jahee.com/images/logo.gif'; tdclass.className='class1' "></body> table内嵌table 请问如何用JS打开一个文件保存对话框,然后下载指定文件到本地目录? js能否控制<v:RoundRect>?? 如何清除透明png图片的阴影 javascript 问题,谢谢先 调用图片链接的一个问题,请大家帮帮忙。 百分求解弹出窗口 小妹在线求救的,高手快来帮我的,小妹妹谢谢了的 有没有什么方法能计算出两个日期间包含多少个星期一,星期二,星期三。。。 求助 怎样用class模拟<a href>标签的效果? 关于菜单与select
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head><body>
<img src="http://expert.csdn.net/images/csdn.gif" onMouseOver="this.src='http://www.csdn.net/images/ad/vsnet_120.gif';tab.background='http://www.csdn.net/images/ad/vsnet_120.gif'">
<table id=tab width="100" border="1" cellpadding="0" cellspacing="0" >
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</body>
</html>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language=javascript>
function test()
{
img1.src='http://www.csdn.net/images/ad/vsnet_120.gif';
if(tab.background=="")
{
tab.background='http://www.csdn.net/images/ad/vsnet_120.gif';
}
}
</script>
</head><body>
<img id=img1 src="http://expert.csdn.net/images/csdn.gif" onMouseOver="test()">
<table id=tab width="100" border="1" cellpadding="0" cellspacing="0" >
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</body>
</html>
.class1{background-color:#666666; background-image:url('http://zhiin.jahee.com/images/logo1_1.gif'); background-repeat:no-repeat;}
.class2{background-color:#166666; background-image:url('http://zhiin.jahee.com/images/logo1_2.gif'); background-repeat:no-repeat;}
</style>
<body>
<table>
<tr><td width=200 height=100 id=tdclass class=class1></td></tr>
</table>
<img src="http://zhiin.jahee.com/images/logo.gif"
onMouseOver="this.src='http://zhiin.jahee.com/images/logo2.gif'; tdclass.className='class2'"
onMouseOut="this.src='http://zhiin.jahee.com/images/logo.gif'; tdclass.className='class1' ">
</body>