73 ms·
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.
by Diskutant 6y ago
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.
- James0x57 6y agoOHHH 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"?
- Diskutant 6y agoYes it’s stuck on #randommenu Sometimes it works though, needs some „clicking“ (touching), eventually it will (might) work.