HTMLElement.scrollIntoView( ) |
make an element visible |
Availability
Internet Explorer 4
Synopsis
element.scrollIntoView(top)
Arguments
- top
-
An optional boolean argument that specifies whether the element
should be scrolled to the top or bottom of the screen. If
true or omitted, element
appears at the top of the screen. If false,
element appears at the bottom of the
screen.
Description
scrollIntoView( ) scrolls the document containing
element so the top of
element is aligned with the top of the
display area or the bottom of element is
aligned with the bottom of the display area.
|