elevator.js Finally, a "back to top" button that behaves like a real elevator, by adding elevator music to quietly soothe the awkwardness that can ensue when being smoothly scrolled to the top of the screen.
Elevator.js is a stand alone library (no jquery, or the likes) so usage is pretty straight forward.
styling of elements is up to you. Elevator.js only handles the audio management, and the scroll functionality!
Elevator.js lives entirely within the js realm, which makes things fairly simple to use.
You'll need to create a new instance of Elevator, and pass it some audio elements.
You can also add an "element" option, clicking this element will invoke the "Scroll to top" functionality, we all love and crave.
If you're really serious (boring), you don't have to use audio... and can also set a fixed time to scroll to the top
Down down down
Down down down
Down down down
Down down down
Down down down
Down down down
Down down down
Ok, here we are... click that elevator!.