View Full Version : browser window position
hi,
is there any way to get the top and left position of the browser window?
thanks in advance
edit
Quiet Storm
02-07-2003, 08:53 PM
If you're looking to center an existing window, I think there's a way to do that using a window.moveBy function.
window.screenLeft
window.screenTop
I dont know wether these refer to the browser window, or only to the area where the html is shown.
You can control the position of the window by using the window.moveTo(x,y) function, x and y being the coordinates you want the top left corner of the browser window to go to.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.