1个回答
展开全部
function da()
{
document.getElementById("pic").style.width='750';
setTimeout(xiao,3000)
}
function xiao()
{
document.getElementById("pic").style.width='500';
}
</script>
<img src="图片地址" width="500" id="pic" name="pic"/>
<input type="button" name="Submit" value="放大" onclick="da()" />
{
document.getElementById("pic").style.width='750';
setTimeout(xiao,3000)
}
function xiao()
{
document.getElementById("pic").style.width='500';
}
</script>
<img src="图片地址" width="500" id="pic" name="pic"/>
<input type="button" name="Submit" value="放大" onclick="da()" />
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询