Live data from Hacker News

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

tholman.com

141–150 of 336 posts

Re: Elevator.js – A “back to top” button that behaves like a real elevator

#141
post #30

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..

It's 1.77kb of JS. But in any case, I don't think you need to worry about many people using it.

Re: Elevator.js – A “back to top” button that behaves like a real elevator

#143
post #99

Earlier quoted context omitted.

The Home key is fine if you're on a PC. On a Mac the only time you'll see one is on some extended external keyboards. It's rare, if nonexistent on Mac laptops. So you need to press Cmd+Up. Yes, it's two keys instead of one but I would argue it's actually quicker since they are both usually located on the bottom row, meaning there is less distance for your hand to travel.

I’m normally a macOS guy but I’m currently using windows full time to give WSL a proper chance. The thing I miss most is CMD+Arrow to go to the start/end of something. I think it’s a beautiful system, alt+arrow to jump a word, cmd+arrow to jump to the start/end. The home/end keys are always so hard to find especially when they could be anywhere depending on your keyboard

Alt+Arrow on OSX is Ctrl+Arrow on Windows.

I just switched to OS X recently and I am definitely having the reverse trouble getting used to the Cmd/Alt+Arrow I almost never have problem finding Home/End on any keyboards (been using Windows/Linux for 15+ years). Nowadays for laptop it's almost always fn+Arrow for Home/End.

Re: Elevator.js – A “back to top” button that behaves like a real elevator

#144
post #68

The "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…

Guess I’m the one who didn’t get the joke as well.

Re: Elevator.js – A “back to top” button that behaves like a real elevator

#145

Earlier quoted context omitted.

Plenty of Mac users out there without a “Home” button.

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.

I have Home & End on my keyboard, but they are not very conveniently located. Mapping -A and -E to Home and End is much more ergonomic (or you can use other modifier like or ). Not sure though which keys should be mapped to PageUp/PageDown. Those are not terribly useful keys anyway if you use touchpad or Space.

Re: Elevator.js – A “back to top” button that behaves like a real elevator

#147

Earlier quoted context omitted.

It still amazes me that people tolerate that as a substitute. It's a key combo that requires two hands, for what on a regular keyboard is one finger. Perhaps Mac people never hold a cup of coffee in their hand while using a computer?

right cmd + up arrow and you end up with free cofee-hand

it dorsnt work with cmd

Re: Elevator.js – A “back to top” button that behaves like a real elevator

#148
I have never needed a "back to top" button in a web browser. However on almost all sites that offer one I've been missing a "jump to where I just was before I misclicked" button.

Those endless, highly volatile feeds that often can't even keep the ordering of content between page refreshes are annoying.

Re: Elevator.js – A “back to top” button that behaves like a real elevator

#149
post #68

The "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…

Now if only the End key could go back to being usable...
Post reply on HN