Live data from Hacker News

Elevator.js (2015)

tholman.com

11–20 of 88 posts

Re: Elevator.js (2015)

#19
post #7

A very cute bit of coding. But: I've always wondered who uses these "back to the top" buttons, and why? Until quite recently I hardly ever had reason to go back to the top of the page—I was much more likely to click a link or click the back button—and if I did a quick tap of the home key or flick of the touchscreen usually did the trick. Conveniently, both gestures work even if you've not gotten all the way down to t…

Yeah, in the days where fixed nav at top is often used by default it is not as common to have TOP links any more. Recently I searched for a way to PREVENT going to the top clicking a link that only had JavaScript in it and always jumped back and forth due to AJAX page reload.

The solution[1] I found was using A no jump link.

[1]https://pilabor.com/blog/2021/03/html-and-css-tricks/#no-jum...

Post reply on HN