title: setTimeout doesn't work with window.location?
body: <p>i try to rich flash like effect when changing window location, but there is a small problem, i can't solve.</p>
  
  <p>look at the script please</p>
  
  <pre><code> $(document).ready(function(){
  
              $('a.flash').click(function(e) {
                  e.preventDefault();
                  $('body').fadeOut(1500);
                  setTimeout("", 1500);
                  window.location=this.href;
              }); 
        });
  </code></pre>
  
  <p><code>window.location=this.href</code> must be done after 1500ms, but it doesn't happen.
  could you explain why?
  what is strange, when i try to write <code>alert("something");</code> instead of <code>window.location=this.href</code>, it works fine. Could you explain why?</p>
  
  <p>Thanks</p>