title: Repeating event and how to avoid
body: <p>My jQuery code is:</p>
  
  <pre><code>$(document).ready(function () {
      $('.selector').mouseenter(function () {
          $(this).find('&gt; ul').slideToggle('fast');
      });
      $('.selector').mouseleave(function () {
          $(this).find('&gt; ul').slideToggle('fast');
      });
  });
  </code></pre>
  
  <p>In work at:</p>
  
  <p><a href="http://jsfiddle.net/Reuben/Au7LA/1/" rel="nofollow">http://jsfiddle.net/Reuben/Au7LA/1/</a></p>
  
  <p>My code works, but if your not careful you can make a rapid attack of opening an closing panels. So is there a delay or rather what can someone do to prevent this from occurring?</p>