Created
August 22, 2011 20:08
-
-
Save wyattdanger/1163388 to your computer and use it in GitHub Desktop.
Poppa on specific node
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('header').poppa({ | |
'li': function (li) { | |
// $('header').find('li') | |
// is accessible within this function as li | |
}, | |
'a:first-of-type': function (a) { | |
// $('header').find('a:first-of-type') | |
// is accessible within this function as a | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment