news.volyx.in

Elevator.js – A “back to top” button that behaves like a real elevator (tholman.com)

719 points by gitgud · 2294 days ago · 313 comments on HN

Article summary

Elevator.js is a JavaScript library that creates a 'back to top' button that behaves like a real elevator, providing a unique and functional way to scroll back to the top of a webpage. The library aims to make the 'scroll to top' experience more natural and engaging. The article introduces the concept of Elevator.js and invites readers to try it out. The library is a simple and creative solution to a common problem on websites.

Main themes

  • JavaScript libraries
  • frontend development
  • user experience
  • iOS functionality
  • frameworks debate
  • creative solutions

What commenters say

  • Some people find 'back to top' buttons annoying and unnecessary, especially on iOS devices where the operating system already provides this functionality. Others appreciate the convenience and functionality of these buttons, even if they are not aware of the built-in iOS feature. The use of frameworks in frontend development is a topic of debate, with some arguing that they are useful for large projects and teams, while others see them as unnecessary and cumbersome. The Elevator.js library is seen as a refreshing example of a simple and creative solution that does not rely on frameworks or complex technologies. Some commenters suggest that the library could be improved with additional features, such as the ability to pause or suspend the 'elevator' action. The discussion also touches on the topic of user experience and the importance of considering the needs and preferences of users when designing websites and applications. The Elevator.js library is viewed by some as a humorous and entertaining example of what can be achieved with JavaScript, while others see it as a pointless but lovable project.
  • themes": [