Element.doScroll() (Method)

Simulates a mouse click on a scroll bar.

Availability:

JScript - 5.0
Internet Explorer - 5.0
JavaScript syntax:IEmyElement.doScroll()
IEmyElement.doScroll(aKeyword)
Argument list:aKeywordDefine the scroll item to click on

This emulates the action of the user having clicked on a scrollbar item with the mouse. The scroll controller that is clicked on depends on the keyword used in the method call.

Keyword:Description:
downComposite reference to scrollbarDown
leftComposite reference to scrollbarLeft
pageDownComposite reference to scrollbarPageDown
pageLeftComposite reference to scrollbarPageLeft
pageRightComposite reference to scrollbarPageRight
pageUpComposite reference to scrollbarPageUp
rightComposite reference to scrollbarRight
scrollbarDownDown scroll arrow is at the specified location
scrollbarHThumbHorizontal scroll thumb or box is at the specified location
scrollbarLeftLeft scroll arrow is at the specified location.
scrollbarPageDownPage-down scroll bar shaft is at the specified location
scrollbarPageLeftPage-left scroll bar shaft is at the specified location
scrollbarPageRightPage-right scroll bar shaft is at the specified location
scrollbarPageUpPage-up scroll bar shaft is at the specified location
scrollbarRightRight scroll arrow is at the specified location
scrollbarUpUp scroll arrow is at the specified location
scrollbarVThumbVertical scroll thumb or box is at the specified location
upComposite reference to scrollbarUp

The default value is scrollbarDown.