TOC PREV NEXT INDEX

Put your logo here!


window.screen.top


Gets/sets the distance from the top of the screen.

Syntax

lTop = window.screen.top 
window.screen.top = lTop 

Parameters

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

See also window.screen.left.

Specification

DOM Level 0. Not part of specification. 


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX