Tuesday, January 27, 2009

[jQuery] HELP!!! wait for fade out before replacement div fades in

Hi.

Here is my code....
I'm trying to get this to fade out first before the fade in happens.
Please help!!

$(document).ready(function()
{
$("a.linkclass").click(function() {
$('.msg_body').fadeOut("fast");
$($(this).attr("href")).fadeIn("fast");
});
});

Thank!

No comments: