Move a window to a new location in Javascript
Description
window.moveTo(x,y)
moves the window to the upper-left coordinate.
Example
<!DOCTYPE HTML>
<html>
<body>
<script type="text/javascript">
<!-- w ww. j a v a 2s.co m-->
//move the window to the upper-left coordinate
window.moveTo(0,0);
</script>
</body>
</html>
The following code moves the window to position (200, 300).
window.moveTo(200, 300);