<html>
<head>
</head>
<script language="JavaScript1.2">
<!--
function moveWin(form){
var myX = form.X.value;
var myY = form.Y.value;
window.moveTo(myX, myY);
}
-->
</script>
<body>
<form>
<b>X-Coordinate:</b>
<input type=TEXT name="X"><br>
<b>Y-Coordinate:</b>
<input type=TEXT name="Y"><br>
<input type=BUTTON value="Move Window" onClick="moveWin(this.form)"></td>
</form>
</body>
</html>
|