sevenday
(sevenday)
金牌会员
 
版主
UID 15690
精华
0
积分 2701
帖子 2700
金钱 2701 喜悦币
威望 0
人脉 0
阅读权限 70
注册 2002-8-5
状态 离线
|
[推荐阅读] js的navigator是什么对象
不太明白你的意思
你说的是不是这个:
<html>
<head>
<title> New Document </title>
</head>
<body>
<form name=fm>
<img src="image.jpg" name=image >
</form>
<script language=javascript>
var imagewidth,imageheight;
imagewidth=document.fm.image.width;
imageheight=document.fm.image.height;
document.write(imagewidth+"<br>"+imageheight);
</script>
</body>
</html> 如果不是,我也不知道了^_^!
|
|