Jquery Autoscroll Trick :)

I just wanted to share a great little trick I just discovered. In my case, I am using it to autoscroll from the Header to the body of a page once it loads, but I hope similarly simple combinations of jquery features x webflow features could be used to easily achieve other’s needs.

While I was trying to get an autoscroll moment implemented in custom code, I found that instead of targeting the scrollTop of various divs in jquery, I could simply add:
image (3)

and use that hidden button to trigger Webflow’s native autoscroll feature:
image (4)

Not that this is the most complicated thing to do in Jquery, but I enjoy the simplicity of the solution and thought I would share