JavaScript: The Definitive Guide
25.302. Window.moveTo( ): move a window to an absolute position
JavaScript 1.2:
25.302.1. Synopsis
window.moveTo(x, y) 25.302.1.1. Arguments
25.302.2. Description
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( ). |
Категории