Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The "Play it here" link on the github page works.

Seems like the "click click" message, which is shown only on op's direct link, causes some problems.



OHHH I wish the others would have been more specific other than "it doesn't work". Thank you!

The way that random thing works is:

1) #randommenu:target shows the overlay (based on hash in the url)

2) the overlay has a link to "#" (fullscreen) that says "click-click"

3) Then rendered ontop of the link, all 16 level labels are full screen & transparent

4) Animations loop through them (hard-coded random scramble) to change their z-index to be on top, one at a time, for about 0.25s each

5) Clicking on any of the labels causes that layer to disappear, exposing the "#" link

6) Clicking again changes the url to "#" so #randommenu is no longer :target, thus closing the overlay

My guess is it's probably flashing too fast for iOS/Safari to register a full click.. I could probably fix it by making the random sequence take longer.

Can you confirm the URL never changes to "#" and stays stuck on "#randommenu"?


Yes it’s stuck on #randommenu

Sometimes it works though, needs some „clicking“ (touching), eventually it will (might) work.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: