Elevator.js – A “back to Top” Button that Behaves like a Real Elevator
Elevator.js fixes those awkward “scroll to top” moments the old fashioned way. By Tim Holman • Source & Instructions • ▼ First we need to get to the bottom of the page. ▼ Because you’re already at the top. ▼ So a “back to top” button wouldn’t make sense. ▼ Down down down. ▼ Wow, all this scrolling. ▼ This had better be worth it. ▼ It’s going to take ages to get back to the top. ▼ If only we had an easy way to get back… ▼ …that is both functional and fun. ▼ I call “back to top” buttons elevators… ▼ …they should really behave more like them. ▼ Ok, here we are… click that elevator! Back to Top » Read More
Like to keep reading?
This article first appeared on tholman.com. If you'd like to keep reading, follow the white rabbit.