Streaming live at 10am (PST)

Javascript function scroll to top (0,0) possible

Hello
I found a way for javascript history back `javascript.history.back()

or only one step back history.go()-1 (wihtout javascript)!!


image

but how to empliment a scroll to (0,0 ) ?
image
look to w3schools: https://www.w3schools.com/jsref/met_win_scrollto.asp

W3schools they also have a larger javascript possibility to scroll to the top
https://www.w3schools.com/howto/howto_js_scroll_to_top.asp
but the javascript need to be on all pages… I only want it in the button !!!
image

thanks to find a solution to have a button thats scroll to (coordinate)
Karel

my project
https://preview.webflow.com/preview/rossebuurten?utm_medium=preview_link&utm_source=designer&utm_content=rossebuurten&preview=7b05b4fb18401abb278db6454113d692&pageId=5e185412d27bcf236f00a6ba&mode=preview