How can I improve this JQuery code
<p>I'm researching the optimising of JQuery code and was wondering if there is a way to better this code as it seems quite long...</p>

<pre><code>$("#tabs-nav li a").hover(

     function(){
      if($(this).parent().hasClass('active')) {
      } else {
       $(this).stop().animate({ opacity: 1, marginTop: '24px'}, 200);
      }   
     },
     function(){
      if($(this).parent().hasClass('active')) {
      } else {
       $(this).stop().animate({ opacity: 0.4, marginTop: '29px'}, 200);
      }
     }
    );
</code></pre>

<p>Many thanks in advance!</p>
