title: Animating "src" attribute
body: <p>I have an HTML document. It looks like this:</p>
  
  <p><img src="https://i.stack.imgur.com/DkiAh.png" alt="original"></p>
  
  <p>When the user hovers "stackinfo" image, I want it  look like this:</p>
  
  <p><img src="https://i.stack.imgur.com/KIjfC.png" alt="hovered"></p>
  
  <p>My code for image:</p>
  
  <pre><code>&lt;img src="/Resources/Images/MainMenu/logo.png" name="Logo" width="100" height="30" class="MainMenu" id="Logo" /&gt;
  </code></pre>
  
  <p>I know how to change the <code>src</code> of the image on hover, but how can I animate this?</p>
  
  <p>(I want to do it with jQuery)</p>
  
  <p>What I have already tried:</p>
  
  <pre><code>$(document).ready(function(){
         $('img[name="Logo"]').hover(function(event){
           $(this).fadeIn(function(event){
               $(this).attr("src","/Resources/Images/MainMenu/logoHover.png");
           });
         },
         function(event){
           $(this).fadeToggle(function(event){
               $(this).attr("src","/Resources/Images/MainMenu/logo.png");
           });  
         });
  });
  </code></pre>