Elevator.js is a standalone JavaScript solution for powering your "Back to Top" buttons.
It is a framework-agnostic solution that eliminates the quick twitch motion that accompanies all these buttons, and instead slowly animates the user's view to the top of the page.
Developers have the option of customizing the time it takes to move the viewport to the top, and if they choose a larger period of time, they can also play some background music via HTML5.
This latter feature is optional and is not recommended for serious enterprise projects, but it's fun enough to have it on your own personal homepage nevertheless.
Elevator.js comes with a sample page to show developers how it can be implemented.
Requirements:
- JavaScript enabled on client side
Comments not found