Element.scrollIntoView() (Method)

Set the scroll of the document to bring the element into view.


JScript - 3.0
Internet Explorer - 4.0
Property/method value type:undefined
JavaScript syntax:IEmyElement.scrollIntoView()
Argument list:aReferencePointIndicates the desired scroll to location

This method scrolls the window to bring the receiving element into view. The argument is an optional Boolean value that indicates whether the receiving Element object should be scrolled to the top (true) or the bottom (false) of the window.

By default, the value true is assumed if no value is specified.

See also:Element object