How can I set a window's position when it is opened?

Put this as early in the <head> of the page as possible:

<script>
self.moveTo(200,200);
</script>

Alternately you can add onload="self.moveTo(200,200);" to the body tag, like this:

<body onload="self.moveTo(200,200);">

Set the position in the parentheses.  The first number is the x (that is, left) position; the second number is the y (that is, top) position.

Close