Posted on 2009-05-09
I'm trying to get a new browser window to appear in front of the current page the user is looking at. I know how to create the new window and how to detect the width and height of the current browser window. But I need to be able to check the browsers position on the computer screens.
The way I have it configured now, it appears a certain distance from the top-left of the screen. This however could pose a problem with different sized computer screens and especially when a user has dual monitors.
Is there any way to detect the browsers postion so that I can position my new window relative to the old?