25.167. HTMLElement.scrollIntoView( ): make an element visibleFirefox 1.0, IE 4, Safari 2.02, Opera 8.525.167.1. Synopsiselement.scrollIntoView(top) 25.167.1.1. Arguments
25.167.2. DescriptionIf an HTML element is not currently visible in the window, this method scrolls the document so that it becomes visible. The top argument is an optional hint about whether the element should be scrolled to the top or bottom of the window. For elements that accept the keyboard focus, such as the Link and Input elements, the focus( ) method implicitly performs this same scroll-into-view operation. 25.167.3. See AlsoAnchor.focus( ), Input.focus( ), Link.focus( ), Window.scrollTo( ) |