This is the Linux app named elevator.js whose latest release can be downloaded as Stable.tar.gz. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named elevator.js with OnWorks for free.
Follow these instructions in order to run this app:
- 1. Downloaded this application in your PC.
- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 3. Upload this application in such filemanager.
- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.
- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 6. Download the application, install it and run it.
Elevator.js fixes those awkward "scroll to top" moments the old fashioned way. 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. All 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. Elevator.js is covered by the MIT License.
- You'll need to create a new instance of Elevator, and pass it some audio elements
- If you don't want to scroll to the top, a custom target can be specified by adding a "targetElement" option
- If you want to scroll to a point on the page with some extra padding on the top, simply add the "verticalPadding" option
- 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
- If you use elevator.js in combination with other code, you might want to use callbacks
- The package is also available via NPM
This is an application that can also be fetched from https://sourceforge.net/projects/elevator-js.mirror/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.