JS文件:
function show(){var imgid=document.getElementById("imgid")
if(imgid.style.visibility == "visible")
imgid.style.visibility = "hidden"
else
imgid.style.visibility = "visible"
setTimeout('show()',300)
}
HTML:
<img id="imgid" style="visibility:visible" src="1.jpg" />
<button onclick="show()">按下图片会闪动</button>
不知道你是不是这个意思 发现有点没读懂你想要的东西
把最后的img用div包起来<div onMouseOver="ShowImage()" onMouseOut="ShowImage()">
<img src="images/index_r3_c9.jpg" width="115" height="115" border="0" >
</div>