Implement go to top functionality

Hi,

Any one know how to implement a Go To Top functionality? when im scrolled down and press on a link and then go to the top of the page.


thanks.  

Solution

Hey Shahar!

I actually made a component a while back for this! But.... it's already built in in P11 :)

https://www.outsystems.com/forge/component-overview/5826/anchorscroll

This will allow you to use select an element and scroll to it's position.
In P11 it's called ScrollToElement

Solution

Hi Shahar Zion,


Create an action on the link and set the destination node to Redirect URL and set its URL value to "#" 



Regards,

Koushik