Hacker News new | ask | show | jobs
by panzi 8 days ago
While I'm not that against to such a web page (when viewing it on a monitor, not a phone) I'd say follow these points:

• Don't hijack any browser functionality. Scrolling shall scroll the document, the end.

• Don't scale something to the screen size, breaking zoom! Especially don't do it so that when zooming causes a different scroll position and then it all jumps to a different slide. WTF!

• Make it accessible!

If you want to make flashy graphics and animations make a game. That is not meant as to belittle games, I love games.

1 comments

I don't disagree with those, and I'm able to do them myself but what do you mean by this?

"• Don't hijack any browser functionality. Scrolling shall scroll the document, the end."

How would you consider the page hijacking scroll functionality? You can scroll down normally. There are animations based on scroll position, maybe that's what you meant?

I mean the animated graphics and some other hackery going on when you try to zoom. It thinks to detect a different scroll position and jumps to a different slide. Also means you can't convert it to a PDF or print it, if you want to (though I wouldn't want to do that).
Gotcha, interesting user flow. I've never manually tested that before. Adding it to the list.

I do think the site is a very poor vibed implementation of this FWIW, another hour of manually tweaking some css/js would solve this issues.