August 2006
Intermediate to advanced
1018 pages
34h 13m
English
Window.moveTo( ): move a window to an absolute position — JavaScript 1.2:
window.moveTo(x,y)
x
The X coordinate of the new window position.
y
The Y coordinate of the new window position.
moveTo( ) moves the
window so its upper-left corner is at the
position specified by x and
y. For security resasons, browsers may
restrict this method so it cannot move a window offscreen. It is
usually a bad idea to move a user’s browser window unless he
explicitly request it. Scripts should typically use this method only
on windows that they created themselves with Window.open( ).
Read now
Unlock full access