I would like to not go through the animation if the link already has the class of "active", I have been fooling with this for a bit and can't seem to get it to work, this is the current jQuery I am using
// Scrolling Animation $('#slides li a').each(function() { $('#slides li a').click(function(e) { $('#social').fadeOut(100);
And here is the HTML
What about that?