JavaScript Window screenTop
JavaScript Window screenTop
The screenTop property is used to return the vertical position of a window. It is relative to the screen. Its similar properties are screenLeft Property, screenX Property, and screenY Property.
Syntax:-
Its syntax is:- window.screenTop
Return:-
Its return is:- vertical position in pixels of the window relative to the screen.