Tuesday, 10 September 2013

Reverse a onClick event

Reverse a onClick event

I've got this:
$(function(){
$('#gallery').click(function(){
$('.overlay').fadeIn(500);
$('#infographic').delay(800).fadeIn(200);
});
});
Now when I click again, I want the above to reverse.
Anyone??

No comments:

Post a Comment