Created
November 2, 2012 17:57
-
-
Save Coopeh/4003191 to your computer and use it in GitHub Desktop.
jQuery Multiple :not Selectors
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
jQuery('a:not([href^=mailto]):not(".bsub")').click(function() { | |
var location = jQuery(this).attr('href'); | |
jQuery('#content').animate({ | |
opacity: 0 | |
}, 250); | |
jQuery('.bounce').animate({ | |
left: -500 | |
}, 300, function() { | |
document.location = location; | |
}); | |
return false; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment