title: Redirect after animation in Jquery
body: <p>I have this code:</p>
  
  <pre><code>setTimeout(function() {  
    $('#squareone').animate({top: '-760px'},1000);
   }, 22200
  
   ); 
  </code></pre>
  
  <p>This animates the <code>#squareone</code>div. The problem I wanted to solve is to redirect after the animation is done.How can I do this? 
  I know the redirect works like this <code>window.location.href = "/home.html"</code></p>
  
  <p>Thanks!</p>