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

Not difficult at all. For a simple fix, one just needs to add a timeout between receiving the mouseOut event and hiding the menu. OS X appears to do something slightly more complicated; it hides the menu immediately if you mouse out away from the submenu, but keeps the menu open for about one second if you mouse out towards it.


But then you couldn't use the `:hover` pseudo selector; you'd have to replace css with javascript.


In usability vs "purity" of implementation wins usability.


Could use transition-delay. Supported in all browsers except IE.


THAT IS SO USEFUL.


This should really be considered a bug of the css spec.


The CSS spec's :hover was never made for dropdowns, it was made for simple on-hover effects, IMO.


Apparently the CSS spec does allow delayed behavior - http://www.w3.org/TR/css3-transitions/#transition-delay-prop...




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

Search: