<HTML><HEAD></HEAD>
<BODY><input type="button" onclick="aaa()" value=改变大小><script>
function aaa() {
window.resizeTo(300,200);
}
</script>
</BODY></HTML>
<BODY><input type="button" onclick="aaa()" value=改变大小><script>
function aaa() {
window.resizeTo(300,200);
}
</script>
</BODY></HTML>
<BODY><input type="button" onclick="resizeTo(300,200)" value=改变大小>
</BODY></HTML>
ParametersiWidth Required. Integer that specifies the width of the window in pixels.
iHeight Required. Integer that specifies the height of the window in pixels. Return ValueNo return value.ResThis method does not work on dialog windows. In order to move or size a dialog window, manipulate the dialogHeight, dialogWidth, dialogTop, and dialogLeft properties.Standards InformationThere is no public standard that applies to this method.