当鼠标经过图片时,图片自动放大???
当鼠标经过图片时,图片自动放大,鼠标离开后,就回复原来大小??这该如何做???????
全过程(放大缩小)都用同一张图片
[此贴子已经被作者于2006-12-11 16:23:23编辑过]
这个代码就可以:
<script language="JavaScript" type="text/JavaScript" src="http://search.mall.dangdang.com/mall.js"></script>
<div id="popImageLayer" align="center" name="popImageLayer" style="position:absolute; visibility: hidden; width: 180; height: 180;cursor: hand;border-style:solid;border-width:1pt; border-color:orange" calss=""></div>
<center>
<br /><br /><br />
<img src="http://admin.mall.dangdang.com/GoodsImage/S000000460/Small/200608090909231.png" onMouseOver="popImage(this,'http://admin.mall.dangdang.com/GoodsImage/S000000460/Middle/200608090909231.png','http://wangfenglitai.mall.dangdang.com/products/G00000072867.html');" border=0></a>
</center>