Instruction set reference
HIPE_OP_SCROLL_TO
Scrolls the contents of a scrollable element to a new scroll position.
- location: The element to be affected by the scrolling operation
- arg[0]: The new left-coordinate offset (horizontal scroll position)
- arg[1]: The new top-coordinate offset (vertical scroll position)
- arg[2]: Specify "%" here for scrolling according to a percentage of the total scroll-track range; or leave unspecified to use the default units of pixels.
Notes
Leave arg[0] or arg[1] blank if scrolling in a certain direction is not required.