Created
May 12, 2010 21:00
-
-
Save folktrash/399117 to your computer and use it in GitHub Desktop.
few lines of jquery which will make a css based "flyout" nav acessible via the keyboard and work in ie6.
Adding the response here for posterity.
You'd have a lot of focusout handlers
$('#navPrimary').children().focusin(function() { // You would re-add the `focusout` handler every time `focusin` was called. $(this).addClass('accessibleHover').focusout(function() { $(this).removeClass('accessibleHover'); }); });
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for looking yo! By that same logic, could one also:
? Or is that crazy talk?