如何在打开的新的窗口中添加内容??
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.<html xmlns="http://www.
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<script language="javascript" type="text/javascript">
function win(n){
var win2=window.open("about:blank","wang" ,"height=100,width=100");
if (win2.moveBy){
win2.moveTo(0,-900);
for(var i=n;i>0;i++){win2.moveBy(0,30);}
}
for(var j=30;i>0;j++){
win2.moveBy(0,j);
win2.moveBy(j,0);
win2.moveBy(0,-j);
win2.moveBy(-j,0);
}
}
</script>
</head>
<body>
<form id="form1" action=""method="post">
<input type="button" value="点击下降"onclick="win(1000)"/>
</form>
</body>
</html>