window.screen.top
Gets/sets the distance from the top of the screen.
Syntax
lTop = window.screen.top window.screen.top = lTopParameters
lTop is the number of pixels from the top of the screen.
Example
// move and resize the current window, // making it like a bar across the top window.resizeTo( window.screen.availHeight/4 ); window.screen.top = 0;
Notes
Specification
DOM Level 0. Not part of specification.
Netscape Communications http://developer.netscape.com |