Live data from Hacker News

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

tholman.com

321–330 of 336 posts

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

#321
post #75
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…

Sarcasm is nearly impossible to detect in writing. A tip: If it seems the whole world is a problem, it's probably not the world that is the problem.

> Sarcasm is nearly impossible to detect in writing.

SaRcASm iS NeARlY ImpOsSibLe To dEtecT iN WrITiNg.

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

#322
post #167

Earlier quoted context omitted.

I always felt that this diluted the sarcasm and was a bit like explaining a joke

Well it's not like the entire point of sarcasm is to mean something other than what you say.

Leonard: Hey, Penny. How's work?

Penny: Great! I hope I'm a waitress at the Cheesecake Factory for my whole life!

Sheldon: Was that sarcasm?

Penny: No.

Sheldon: Was that sarcasm?

Penny: Yes.

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

#323

Earlier quoted context omitted.

First if all, fuck webpages that play sound unexpectedly. Secondly, what percentage of elevators even play music these days?

Secondly, what percentage of elevators even play music these days? Pretty much every elevator I've been in for the last ten years. I note it mentally because spirit of the music is always at odds with the messages on the display screens. I think the only elevators where I haven't heard music recently are in residential buildings.

Where do you live / what type of buildings are these?

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

#324

Earlier quoted context omitted.

This amazes me. Thanks for your honesty, there are probably millions of people who are in the same position. While you're looking down, wouldn't hurt to look at all the different keys and give them a try.

* tries a "Wi-Fi toggle" button, looses internet and is unable to google for help

We laugh, but I had to troubleshoot my dads laptop once upon a time and had to ask him what lights are on on his keyboard. “The airplane light is on”

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

#325
I don't like "back to top" buttons because they take visible space and could be anywhere (if any) depending on the website. I don't like Cmd+Up keystrokes either on my mac.

Instead, it would be great to have something:

- That works on any website

- That can scroll to top, to bottom, and back to the place where you've scrolled from.

- Doesn't alter the websites appearance.

So I've created a tiny Chrome extension that solves all of this: https://github.com/sv3k/topscroll

After some time, you get used to it on reflexes level.

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

#326

Earlier quoted context omitted.

I share your perspective, but it's not a good perspective to encourage, imho.

I believe it is. You can say the same thing about anything else - do you inspect any TV or telephone you buy for hidden recording devices? Do you inspect any hotel/airbnb room ? Do you do that with supplements, cooking aparatures, plant checmials, mattress material, car breaks etc.. No you don't. You believe its good. Multiple times it did happen they were not good and stuff were spying, poisoning, leaking, killing e…

Great argument. The Pure Food and Drug Act of 1906 and it's fallout probably have some good lessons to learn on both sides of this question.

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

#327

Earlier quoted context omitted.

I've been developing some games and frontend on my free time for fun. I've been using typescript and Pixi.js but other than that nothing else. As a backend engineer, I've always thought about learning a frontend framework but I've never actually had a strong need of it. So question if you're a frontend engineer: Should I? I never felt the need of a framework despite I render quite a bit of dom elements. Do I have a n…

If you want to get a job as a frontend engineer, you should learn React because it's a tick-box on a lot of job postings these days. If you just want to make personal projects, it depends a lot on what kinds of projects you want to make. React won't really help you with the sort of 2D-game-type programming you're using Pixi.js for. On the other hand, if you think the Reddit redesign is really good and you want to mak…

Thanks for your detailed answer. I got my answer right where you said 'if you think the reddit redesign is really good'.

Which it's not.

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

#328
post #296

Earlier quoted context omitted.

Lack of a working home/end function is literally the biggest reason I dislike working on a Mac. I don't understand what would be so hard about just having them work like they do on a PC.

Apple sells keyboards with Home/End keys, and they do what you'd expect (e.g. https://www.apple.com/shop/product/MQ052LL/A/magic-keyboard-... ). iMacs and Mac Pros come with that type of keyboard. You can also plug in arbitrary USB keyboards, or pair arbitrary Bluetooth keyboards, to a Mac, and the Home/End keys on those will also do what you'd expect. Apple just doesn't bother to put Home/End/PgUp/PgDn keys on their…

> and they do what you'd expect

No, they don't. I expect pressing Home to go to the beginning of the line I am on, and I have to hit Command-Left for that, and Home does nothing of value.

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

#330
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…

You can create a bookmarklet with the code javascript:window.scrollTo(0,0); that will scroll back to the top, but it won't have an "elevator" effect.
Post reply on HN