When dealing with browser controls (single or multiple windows), another useful function is window scrolling. Window scrolling moves the window to particular x,y coordinates. Consider the command
This moves the current window’s left top corner to the location (150, 250) measured by pixels. When working with multiple windows, window handles are often used as identities. In the next example, a page is developed to control the scrolling of a strip of pictures so that only one picture can be seen at any one time. The controlling page is listed in ex08-17.htm.
1: <?xml version="1.0" encoding="UTF-8"?> ...