Set horizontal scroll position of dynamic panel

I have a dynamic panel with a set width.

It has horizontal scroll bars as needed, set.

Inside, the contents is much longer.

On load of the page, i want to set the horizontal scroll position of the panel.

So effectively the inner contents is, for example at -500px.

Place an invisible widget (such as a hotspot, for example) at X=500 inside the dynamic panel and give it a name. Then on the OnLoad action of the panel add a Scroll to Widget action. Select the invisible widget as the target and make sure to select “Horizontally only” in the action options. The default selection is “Vertically only” and this won’t work if that’s selected.

1 Like

This works perfectly, thanks