title: What is the shorthand for this?
body: <p>Here's some messy javascript:</p>
  
  <pre><code>$('.menu').mouseover(function () {
      $(this).animate({
      }, 500, function() {});
  }).mouseout(function () {
      $(this).animate({
      }, 500, function() {});
  });
  </code></pre>
  
  <p>How can I make this smaller, not minify, but isn't there a way to say like <code>"toggle"</code> instead of <code>"mouseover"</code> then <code>"mouseout"</code>?</p>
  
  <p>thx</p>