<html>
<head>
<script language="JavaScript1.2">
<!--
function resizeWin(form){
var myWidth = form.width.value;
var myHeight = form.height.value;
window.resizeTo(myWidth, myHeight);
}
-->
</script>
</head>
<body>
<form>
<b>New Width:</b>
<input type=TEXT name="width"><br>
<b>New Height:</b>
<input type=TEXT name="height"><br>
<input type=BUTTON value="Resize Window" onClick="resizeWin(this.form)"></td>
</form>
</body>
</html>
|