Visit Mozilla.org

XUL:Method:ensureElementIsVisible

From MDC

« XUL Reference home

ensureElementIsVisible( element )
Return type: no return value
If the specified element is not currently visible to the user, the displayed items are scrolled so that it is. If the item is already visible, no scrolling occurs.