[Javascript] Window coordinates in Netscape

Peter-Paul Koch gassinaumasis at hotmail.com
Thu Dec 6 06:24:20 CST 2001



>I am trying to determine the current position of the browser's window on 
>the screen.
>For IE I use
>
>this.screenLeft and this.screenTop
>
>But how to deal with Netscape? Is it possible at all?

self.screenX and self.screenY . I advice you to use 'self' instead of 'this' 
in the IE properties too.

ppk

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




More information about the Javascript mailing list