2个回答
展开全部
这样就可以实现了
<HTML>
<HEAD>
<script>
function fun1(img){
img.width = "300";
img.height = "300";
}
function fun2(img){
img.width = "200";
img.height = "200";
}
</script>
</HEAD>
<BODY>
<img src="c:\gif\1.jpg" height="200" width="200" onmouseover=fun1(this) onmouseout="fun2(this)">
</BODY>
</HTML>
<HTML>
<HEAD>
<script>
function fun1(img){
img.width = "300";
img.height = "300";
}
function fun2(img){
img.width = "200";
img.height = "200";
}
</script>
</HEAD>
<BODY>
<img src="c:\gif\1.jpg" height="200" width="200" onmouseover=fun1(this) onmouseout="fun2(this)">
</BODY>
</HTML>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询