title: Disable links until animation is finished to avoid fast clicking on menu that ruins the slideshow
body: <p>I have a slideshow with jQuery Cycle. I've manipulated it quite a bit, so it works totally different than it does by standard.</p>
  
  <p>Now I have a problem. If you click fast though the menu, that activates the slides, it will ruin the slideshow. I need to deactive the menu, until the animations are done. I have a "After-animation" space, where I could put in a "ready"-function of some kind. I just don't know how to.</p>
  
  <pre><code>$('.slideshow').cycle({
      after: function(curr,next,opts) {
          //here I can add a "Ready" function i guess
      }       
  });
  </code></pre>
  
  <p>Menu: //This is the menu I use. I guess I could add a "Disable menu" rule in here, but again... I don't know how to... :-(</p>
  
  <pre><code>$('#menu li a').click(function() {
      window.location.hash = $(this).attr('href');
      //$('.slideshow').cycle($(this).parent().index());
      index = $(this).parent().index();
      return false; 
  
  });
  </code></pre>
  
  <p>Or do you have another idea?</p>