Auto scrolling

I’m looking for a way to automatically scroll down a page with a click of a button. The scroll should be a slow one. I kinda want something like what they have on this website : (search “the boat sbs” in google)

Thanks!

I don’t know what site you’re talking about, but you can try:
https://www.wix.com/velo/reference/wix-window/scrollby

https://www.wix.com/velo/reference/wix-window/scrollto

https://www.wix.com/velo/reference/$w/anchor/scrollto

Hi Alex,

You can use the scrollBy( ) function alongside the getBoundingRect( ) function by setting an interval that scrolls to a given (x & y) and update the current (y) to increase it for the next interval.

I’m brand new to coding with wix, how would I type this out so lets say I click a checked box and then it starts scrolling slowly to the end of the page