scrollIntoView()

This method is used to scroll an element into view within the page. The default is that the page will scroll until the element is at rest at the top of the window, frame, or scrollspace. Using the showAtTop = true value will align the element with the top of the scrollspace. Using the showAtTop = false value will cause the element to be positioned at the bottom of the scrollspace.

syntax:

scrollIntoView (showAtTop = true or false)

This method is used with the following:

A
ACRONYM
ADDRESS
APPLET
AREA
B
BIG
BLOCKQUOTE
BR
BUTTON
CAPTION
CENTER
CITE
CODE
DD
DEL
DFN
DIR
DIV
DL
DT
EM
EMBED
FIELDSET
FONT
FORM
H1
H2
H3
H4
H5
H6
HR
I
IFRAME
IMG
INS
KBD
LABEL
LEGEND
LI
LISTING MAP
MARQUEE
MENU
OBJECT
OL
OPTION
P
PLAINTEXT
PRE
Q
S
SAMP
SELECT
SMALL
SPAN
STRIKE
STRONG
STYLE
SUB
SUP
TABLE
TBODY
TD
TEXTAREA
TFOOT
TH
THEAD
TR
TT
U
UL
VAR
XMP
button
checkbox
fileUpload
password
radio
reset
submit
text
textRange