July 1998
Intermediate to advanced
1456 pages
65h 5m
English
scrollIntoView( ) — NN n/a IE 4 DOM n/a
scrollIntoView([showAtTop])
Scrolls the content holding the current element so that the element is brought into view. The default behavior is to display the element so that its top is at the top of the scroll space. But you may also align the element at the bottom of the scroll space, if you prefer.
None.
showAtTop
An optional Boolean value. If true (the default),
the top of the content is positioned at the top of the scroll space;
if false, the bottom of the content is positioned
at the bottom of the scroll space.
Read now
Unlock full access