[jQuery] .html() is written before effect .slideIn() has been completed.

[jQuery] .html() is written before effect .slideIn() has been completed.

A snippet of my code looks like this:
$('#top-content:hidden').slideDown('slow');
$('#top-content #content-top').html('<h2>Test</h2>

Test paragraph</
p>');
Now, why is it that the 2nd line is loaded immediatly after the
effect is triggered? And not - which I expected, or had hoped for -
after the effect has finished it's animation?
Is such a thing possible at all??
Steef
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/