Window.scroll() Method
Name
Window.scroll() Method---scroll a document in a window
Synopsis
- x
-
The X-coordinate to scroll to.
- y
-
The Y-coordinate to scroll to.
The scroll() method moves the window's document
within the window, so that the specified x and
y coordinates of the document appear in the
upper-left corner of the window.
The X coordinate increases to the right, and the Y
coordinate increases down the page. Thus,
scroll(0,0) always places the top-left corner of the
document in the top-left corner of the window.
Window.prompt()
Window.self
file: /Techref/language/java/script/definitive/refp_458.htm,
4KB, , updated: 2019年10月14日 16:00, local time: 2025年9月14日 12:48,
©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Questions?<A HREF="http://techref.massmind.org/techref/language/java/script/definitive/refp_458.htm"> [Chapter 21] Reference: Window.scroll()</A>
Did you find what you needed?
Welcome to massmind.org!
Welcome to techref.massmind.org!
.