redirect using javascript without flash
<p>I trying to do the following:</p>

<p>I want to redirect to another page using javascript, but I want the page (that we redirect to) to fade in instead of being redirect to aggressively. How can Iget that done using jquery? </p>

<p>I tried the following:</p>

<pre><code>$('.splash').hide();

$('.splash').fadeIn(2000,
      function() {
            setTimeout(
                  function() {
                        document.location.href = 'test.html';
                  },100)

&lt;div class = "splash"&gt;&lt;/div&gt;
</code></pre>
