3 | | iOS has some built in :hover faking code, but this steps it up a bit, and also makes the flyouts more accessible and usable on Android -- where previously you had to touch and hold to activate the flyout/dropdown, and then slide your finger off to not trigger the actual link. |
4 | | |
5 | | This way, if it's hidden, the first click will show it, and prevent the link from going anywhere. Huzzah! |
| 3 | I've probably put some things in the wrong places, and I know nacin/koopersmith sounded like there was another optimization in the JS they'd like to see (koopersmith: we should bind two handlers when a menu is open. one to stop event propagation any time the #adminmenu is clicked, the other to close the menu any time the body is clicked), but I couldn't seem to wrap my head around it, so I'm tapping out to let someone else put the last bit of spit and polish on it. |