Share via


TextRange.scrollIntoView Method

SharePoint Designer Developer Reference

Scrolls the page so a range of text and elements is positioned at the top of the page window.

Syntax

expression.scrollIntoView(varargStart)

expression   Required. A variable that represents a TextRange object.

Parameters

Name Required/Optional Data Type Description
varargStart Optional Variant Specifies specifies one of the following values that represents the position of the element within the page window.
Value Description
true Default. Scrolls the element so that top of the element is visible at the top of the window.
false Scrolls the element so that the bottom of the element is visible at the bottom of the window.

See Also