[thelist] js - top left coordinates of a browser window?

Peter-Paul Koch gassinaumasis at hotmail.com
Wed Apr 11 04:25:18 CDT 2001

>sorry, badly explained, I meant the top left coordinates of the window,
>relative to the top left point of the clients screen.
>Joshua suggested window.screenTop and window.screenLeft but I'm having
>diffculties getting IE5/Mac to work.

In fact it only works in IE5+ Windows, just tested it. So for Netscape (and 
Konqueror) use self.screenX andf screenY, for IE5+ Win use self.screenTop 
and screenLeft, in the other browsers it seems to be impossible to read this 
information out.

For the updated compatibility table of window properties, see 

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

More information about the thelist mailing list