javascript window screenLeft, screenTop
| screenLeft, screenTop | NN n/a IE 5(Win) DOM n/a |
|
|
Read-only |
|
Return pixel coordinates of the top-left corner of the browser content area relative to the top-left corner of the screen. A maximized browser window returns a screenLeft value of 0, but the screenTop value varies with the complement of toolbars the user chooses to display. Use window.moveTo( ) to change the window position. |
|
| Example | |
var fromTheTop = window.screenTop; |
|
| Value | |
|
Integer. |
|
| Default | |
|
User-dependent |
|
Previous: javascript window screenX, screenY
Next: javascript window screen
- #12009-03-19[Quote]Sometimes small things solves comples problems- thanks for reminding me of window.moveTo
2218,Nickname,Homepage or email,Comments here,Add comment
