Brandon Rome

web, optimal, and things

Simple jQuery Smooth Scroll with Scroll to Top

This came up while working on a little one-page site for a customer.

After some digging, I found a few snippits that combined to make this a rather pain-free process. It’s not flashy, and I’m sure there are 100 ways to do it better, but this worked for me.