$('.msg_body').animate({"left": "50", "opacity": 1}, 1500).fadeOut(1000);
$($(this).attr("href")).animate({"left": "50", "opacity": 1}, 1500).fadeIn(1000);
above animate function will fade out first & after 1000 ms will proceed for fadein
right now its getting fadeOut & immediate getting fadeIn so ur not able to observe what happening or when it happening. :)
regards,
Regx
On Wed, Jan 28, 2009 at 10:33 AM, TimmyH <tim@thelevelco.com> wrote:
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!
--
---| Regard |---
Mohd.Tareque
No comments:
Post a Comment