TOC PREV NEXT INDEX

domref



window.screen.left


Gets/sets the current distance in pixels from the left side of the screen.

Syntax

lLeft = window.screen.left
 
window.screen.left = lLeft
 

Parameters

lLeft is the number of pixels from the left side of the screen.

Example

// move and resize the current window
 
window.resizeTo(window.screen.availWidth/2);
 
window.screen.left = 1;
 

Notes

See also window.screen.top.

Specification

DOM Level 0. Not part of specification.
 


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX