This method will scroll the window to an absolute position specified by the two values. You can scroll in either the horizontal or vertical axis or even both at once.
Although the method is supported by MSIE and Netscape Navigator, they scroll in opposite directions vertically.
You can use this scrolling facility to bring a specific anchor into view. You would do this by enquiring of the anchor what its X and Y coordinates are and then using that as a scroll destination.
You should use this method in preference to the window.scroll() method which is now deprecated.
Vertical scrolling in Netscape Navigator moves in the reverse direction to MSIE. Because the standard is ambiguous on this point, you will need to check this on other implementations.
Netscape Navigator will only permit a document to be scrolled if the scroll bars are active and visible. MSIE does not care whether the scroll bars are visible or whether you are scrolling the document past its end point. Netscape Navigator however allows layers to be scrolled anyhow.