Get/Set Scroll Position
The Get/Set Scroll Position Action either sets the scroll position of the page or a scrollable element, or stores the current scroll position in a JavaScript variable.
Options
- Operation: specifies whether to save or set the scroll position.
- Element ID: The ID of the element to operate on. If left blank, the page is used.
- Value or Variable: when setting the scroll position, this option indicates whether the scroll position is to be taken from a JavaScript variable, or whether the number will be specified in the next setting. When getting the current scroll position, select "Variable".
- Value or Variable Name: the number to use to set the scroll position, if "Value" is selected, or name of the JavaScript variable to get the number from or save it to.
- Maximum Times: the maximum number of times that this Action will execute before it ignores all future events. The counter resets when the page is reloaded. If set to a negative value, it will execute an unlimited number of times.