一个关于HTML img的问题

来源:百度知道 编辑:UC知道 时间:2024/06/28 00:53:50
帮忙解释一下啊!!
<a onMouseOver="var img=document['fpAnimswapImgFP1'];img.imgRolln=img.src;img.src=img.lowsrc?img.lowsrc:img.getAttribute?img.getAttribute('lowsrc'):img.src;" onMouseOut="document['fpAnimswapImgFP1'].src=document['fpAnimswapImgFP1'].imgRolln" href="index.php">
<img name="fpAnimswapImgFP1" src="images/template3_r2_c3.jpg" width="92" height="24" border="0" id="fpAnimswapImgFP1" dynamicanimation="fpAnimswapImgFP1" lowsrc="images/template3_r2_c3_on.jpg"></a></td>

这个是 一个 鼠标经过 图片发生改变的代码!
可以做出类似 flash按钮的效果

参考资料:http://b1.gd.cn

这个其实可以在百度里先搜索一下,网上都有,。