看看我的程序有什么毛病
<html>
<head>
<script language="JavaScript">
function openWindow()
{
var newWin=window.open('','NewWin1','status,toolbar,scrollbars,location,menubar,left=256,top=0,width=1013,height=604,resizable');
newWin.location="http://www.netease.com";
newWin.resizeTo(1024,768);
}
</script>
</head>
<body>
<form>
<input type="button" name="openwindow" value="openWindow"onclick="openWindow()">
</form>
</body>
</html>
第一次点击按钮时正常打开窗口,以后每点一次都有script错误,出在newWin.resizeTo(1024,768);上.
不知resizeTo使用时有没有限制