Determining position of the browser window in JavaScript?

For standards compliant browsers:

Xwindow.screenX
Ywindow.screenY

For IE:

Xwindow.screenLeft
Ywindow.screenTop

Keep in mind, implementations vary. Beware of multi-monitor setups…

Leave a Comment