I really don't know if JavaScript is allowed to access anything other than the window in which it is running. Just think of different browser implementations, for example. when the browser always opens a new tab instead of a window (you cannot resize and place them) or opens it as a child window inside the application (as Opera does), etc. Just because of this, I donβt think it is possible in the proper order.
If you really need a more sophisticated JavaScript window manager, you can take a look at ExtJS . It usually gives you movement control throughout the user interface.
source share