Skip to content

Instantly share code, notes, and snippets.

@folktrash
folktrash / spaces.js
Last active August 29, 2015 14:09 — forked from dandean/spaces.js
var foo = "foo",
bar = "bar";
@folktrash
folktrash / accessibleFlyoutNav
Created May 12, 2010 21:00
few lines of jquery which will make a css based "flyout" nav acessible via the keyboard and work in ie6.
$(document).ready(function() {
$('#navPrimary').children().focusin(function() { $(this).addClass('accessibleHover'); })
$('#navPrimary').children().focusout(function() { $(this).removeClass('accessibleHover'); })
});