Share via


IFrameElement.scrollIntoView Method

SharePoint Designer Developer Reference

Scrolls the page so that an IFRAME element is positioned at the top of the page window.

Syntax

expression.scrollIntoView(varargStart)

expression   Required. A variable that represents an IFrameElement object.

Parameters

Name Required/Optional Data Type Description
varargStart Optional Variant 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