jquery cycle plugin redirect at end - callback basic question
<p>I want to display some images but, at the of that, I would like to redirect. </p>

<pre><code>$(document).ready(function() {
    $('.intro').cycle({
        fx: 'fade'
    });
window.location.replace("http://www.something.com");
});
</code></pre>

<p>This will not work, it seems that js don't wait for the intro to finishes.
Should I use a callback here? </p>

<p>Can I have some help here?</p>

<p>UPDATE:</p>

<p>The alert string never appears! :(</p>

<pre><code>      $(document).ready(function() {
      $('.intro').cycle({
      fx: 'fade', 
window.location.replace("http://www.something.com"); }
      end: function() {window.alert("ola");}
      });
  });
</code></pre>
