title: how to animate following the mouse in jquery
body: <p>OK, this works perfectly fine for following my mouse.</p>
  
  <pre><code>//
  $(document).mousemove(function(e){
    $("#follower").css({
        'top': e.pageY + 'px';
        'left': e.pageX + 'px';
    });
  });
  //
  </code></pre>
  
  <p>And this works great for animating the mouse to a clicked point</p>
  
  <pre><code>//
  $(document).click(function(e){
    $("#follower").animate({
        top: e.pageY + 'px';
        left: e.pageX + 'px';
    }, 800);
  });
  //
  </code></pre>
  
  <p>But I personally feel that logically this SHOULD work! Coming from my point of view as the webscripter. Amd then my question is, how can I make this work. I want the #follower to try and follow my mouse with a dynamic kind of lagging behind feel.</p>
  
  <pre><code>//
  $(document).mousemove(function(e){
    $("#follower").animate({
        top: e.pageY + 'px';
        left: e.pageX + 'px';
    }, 800);
  });
  //
  </code></pre>