How can I block every second click on the link?
That is, the user clicks on the link - the block crashes, then closes. The user clicks again on the link - the block does not crash. The user clicks the link again, and the block crashes again. And so on.
$('.win').click(function() { $('.sage').slideDown('fast'); $('.sage').delay(0).slideUp('fast'); });