JavaScript Reference/Javascript Properties/screenX window
"screenX-window" Example
<source lang="javascript">
<html> <body> <script language="JavaScript"> function function2() {
mySX.innerHTML = window.event.screenX; mySY.innerHTML = window.event.screenY;
} </script>
Screen X: 0
Screen Y: 0
<img src="yourimage.gif">
</body> </html>
</source>
"screenX-window" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |window | +----------------+--------------------------------------------------------------+
</source>
"screenX-window" Syntax and Note
<source lang="javascript">
Note: Read-only property. Returns the position of the outer boundary of the browser window.
Syntax:
window.screenX window.screenY
</source>