scrollToSlotTop()
function module_class_name.scrollToSlotTop(slotNameOrContainedElement, neverScrollDown)
Scrolls the Visitor's screen to the top of a slot on the current page.
Anywhere in your JavaScript code in the front-end. From Zenario 7.0 onwards.
slotNameOrContainedElement
The name of the Slot on the current page to reload. You should write this in using the $slotName environment variable.
Alternately, you can pass in an element from the Slot, and the CMS will look up the name of the Slot from that.
neverScrollDown
If this is set to true, the CMS will only ever scroll the Visitor's screen upwards.
No return value.