首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > CSS >

求:dreamweaver相关有关问题!

2012-04-18 
求高手指点:dreamweaver相关问题!!!用dreamweaver写的代码,实现鼠标滑过显示图片,测试成功,可是复制到淘宝

求高手指点:dreamweaver相关问题!!!
用dreamweaver写的代码,实现鼠标滑过显示图片,测试成功,可是复制到淘宝,滑过显示图片的效果就没有了,怎么回事了呢?哪位高手能指点一下啊

[解决办法]
TB把你的JS代码给过滤了

[解决办法]
如下复制过去就可以看到效果了
<html>
<head>
</head>
<body>
<table width="950" border="0" height="659" background="http://img01.taobaocdn.com/imgextra/i1/723053579/T2p0RzXktMXXXXXXXX_!!723053579.jpg">
<tr>
<td height="125">&nbsp;</td>
</tr>
<tr>
<td width="30" height="459">&nbsp;</td>
<td width="874"><table border="0" height="465">
<tr>
<td height="461"><div style="width:868px; height:459px;">
<div style="float:left; width:260px; height:459px; padding:0px; margin:0px"><img id="imgad" width="260" height="459" src="http://img02.taobaocdn.com/imgextra/i2/723053579/T2dvhpXXBNXXXXXXXX_!!723053579.jpg" /></div>
<div id="right" style=" margin:0px; padding:0px; width:608px; float:left"> <a href="http://detail.tmall.com/item.htm?id=16434960984" target="_blank"><img src="http://img04.taobaocdn.com/imgextra/i4/723053579/T2kMyqXhhbXXXXXXXX_!!723053579.gif" adsrc="http://img02.taobaocdn.com/imgextra/i2/723053579/T2dvhpXXBNXXXXXXXX_!!723053579.jpg" / border="0"></a><a href="http://detail.tmall.com/item.htm?id=15528700607" target="_blank"><img src="http://img04.taobaocdn.com/imgextra/i4/723053579/T24bVpXohMXXXXXXXX_!!723053579.gif" border="0" adsrc="http://img01.taobaocdn.com/imgextra/i1/723053579/T2TGpBXnpMXXXXXXXX_!!723053579.jpg" /></a><a href="http://detail.tmall.com/item.htm?id=14312717989&amp;" target="_blank"><img src="http://img03.taobaocdn.com/imgextra/i3/723053579/T2pBVwXntMXXXXXXXX_!!723053579.gif" border="0" adsrc="http://img03.taobaocdn.com/imgextra/i3/723053579/T2nY4IXmlbXXXXXXXX_!!723053579.jpg" /></a><a href="http://detail.tmall.com/item.htm?id=14202481699" target="_blank"><img src="http://img01.taobaocdn.com/imgextra/i1/723053579/T2lchIXl0bXXXXXXXX_!!723053579.gif" border="0" adsrc="http://img01.taobaocdn.com/imgextra/i1/723053579/T2X3ypXilbXXXXXXXX_!!723053579.jpg" /></a><a href="http://detail.tmall.com/item.htm?id=16335612558" target="_blank"><img src="http://img03.taobaocdn.com/imgextra/i3/723053579/T25jODXb4XXXXXXXXX_!!723053579.gif" border="0" adsrc="http://img04.taobaocdn.com/imgextra/i4/723053579/T2cXxwXb4NXXXXXXXX_!!723053579.jpg" /></a><a href="http://detail.tmall.com/item.htm?id=14940983415" target="_blank"><img src="http://img04.taobaocdn.com/imgextra/i4/723053579/T2JJlAXmBMXXXXXXXX_!!723053579.gif" border="0" adsrc="http://img03.taobaocdn.com/imgextra/i3/723053579/T2JDpwXcXNXXXXXXXX_!!723053579.jpg" /></a><a href="http://detail.tmall.com/item.htm?id=14280193281" target="_blank"><img src="http://img01.taobaocdn.com/imgextra/i1/723053579/T2NJFIXj8bXXXXXXXX_!!723053579.gif" border="0" adsrc="http://img04.taobaocdn.com/imgextra/i4/723053579/T2fJXIXlJbXXXXXXXX_!!723053579.jpg" /></a><a href="http://detail.tmall.com/item.htm?id=16335320131" target="_blank"><img src="http://img01.taobaocdn.com/imgextra/i1/723053579/T25iVwXoBMXXXXXXXX_!!723053579.gif" border="0" adsrc="http://img01.taobaocdn.com/imgextra/i1/723053579/T2PbxpXaJNXXXXXXXX_!!723053579.jpg" /></a></div>


</div>
</td>
</tr>
</table></td>
<td width="32">&nbsp;</td>
</tr>
<tr>
<td height="59" width="30">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" >
var oimgs = document.getElementById("right").getElementsByTagName("IMG");
for (var i = 0; i < oimgs.length; i++) {
oimgs[i].onmouseover = function() {
document.getElementById("imgad").src = this.adsrc;
}
}
</script> 
</body>
</html>

热点排行