It woke up my wife, as I tried it on my phone when the stupid elevator music played it out loud :/ In all seriousness, I hope this will not become another 250kb JS framework we use in our projects..
Elevator.js – A “back to top” button that behaves like a real elevator
181–190 of 336 posts
Re: Elevator.js – A “back to top” button that behaves like a real elevator
#182Ugh, I thought I had tabs muted by default in my browser... Clearly I was mistaken. Turns out I need an extension for it. But now I have ugly mute symbols on every single tab which isn't "default" at all. What I want is sound symbols on tabs that I have expressly un-muted.
If there is no sound at all, there shouldn't be an icon.
Re: Elevator.js – A “back to top” button that behaves like a real elevator
#183Earlier quoted context omitted.
Hacker News attracts a lot of smart readers, so I'm kind of surprised that your comment actually 'fooled' people. It was very obvious sarcasm.
Plenty of Mac users out there without a “Home” button.
Re: Elevator.js – A “back to top” button that behaves like a real elevator
#184Back to the top buttons are a symptom of the system-within-a-system feature of Web. The Web page isn't a document: it's a system, a virtual machine. Just like running another OS in VirtualBox implies bad interoperability and a lot of duplicated effort with the host OS, so too does running web pages. In a quest to be everything, Web became a bogged down, developer-time devouring beast. It can do almost anything, but y…
[1] https://people.apache.org/~jim/NewArchitect/webrevu/1997/02_...
Re: Elevator.js – A “back to top” button that behaves like a real elevator
#185The "back to top" functionality is so useful in web pages. I wish they would make a dedicated button on keyboards that just takes you to the top of the page. Better yet, it can work in other apps too! It could, for example, take you to the beginning of a line when you're writing text. Edit: Wow, I thought I was going the extra mile to make the joke obvious by saying the key should also take you to the beginning of a…
Re: Elevator.js – A “back to top” button that behaves like a real elevator
#186Re: Elevator.js – A “back to top” button that behaves like a real elevator
#187Earlier quoted context omitted.
Cant tell if this is sarcasm or not, but "Home" key does this...
Or shift+space if you want to take steps until the top (maybe you just want to navigate up faster, and not to the top)
I use space all the time to scroll down on a web page, didn't know you could reverse direction, awesome :)
Re: Elevator.js – A “back to top” button that behaves like a real elevator
#188Earlier quoted context omitted.
If I'm not mistaken, Fn + Left Arrow is Home on a Mac. Similar to Fn + up/down is Page Up/Down, and IIRC Fn + Right is End.
Been a Mac user for 17 years, never knew that. Thank you.
The moment I learned my macbook didn’t have a home button I was searching for how to emulate that.
Re: Elevator.js – A “back to top” button that behaves like a real elevator
#189Re: Elevator.js – A “back to top” button that behaves like a real elevator
#190Nice one. Something important missing in this framework is a logic to check the number of people in the elevator. You should use webRTC to count the number of users using the elevator. And if it is more than 8 it should sound alarm!
So the modified algorithm will be as follows. When the user clicks elevator, it first sends a distributed query to all browsers and each browser replies with 0, if elevator is not being used, or 1 when it is used. After the polling is done, it sums all responses. If sum_resp_elev<8:move() else Ring_alarm()