<script language="JavaScript" type="text/javascript">
<!--
function DrawImage(ImgD){
var image=new Image();
var intWidth = 200;
image.src=ImgD.src;
if(image.width>intWidth)
{
ImgD.width=intWidth;
ImgD.height=(image.height*intWidth)/image.width;
}
else
{
ImgD.width=image.width;
ImgD.height=image.height;
}
}
//-->
</script>
</head><body>
<Img id="sImg" src="gong.gif" onload="javascript:DrawImage(this);">
</body>
<!--
function DrawImage(ImgD){
var image=new Image();
var intWidth = 200;
image.src=ImgD.src;
if(image.width>intWidth)
{
ImgD.width=intWidth;
ImgD.height=(image.height*intWidth)/image.width;
}
else
{
ImgD.width=image.width;
ImgD.height=image.height;
}
}
//-->
</script>
</head><body>
<Img id="sImg" src="gong.gif" onload="javascript:DrawImage(this);">
</body>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货