logoalt Hacker News

phyzomeyesterday at 5:34 PM1 replyview on HN

I ran into the same problem about 20 years ago when implementing hover-based dropdown menus on a website. It was only about 10 lines of JS and a couple global variables but I was the only person who understood it. :-P

(These days I would have included more comments.)

Naturally, there was a fallback to pure CSS menus, because we weren't barbarians.


Replies

dylan604yesterday at 7:09 PM

what did the JS provide that the CSS solve wasn't the only solve?

show 1 reply