Try this:
msg.css("background-color","#faa")
.animate({backgroundColor:'#fff'}, 1000)
.fadeOut("fast");
--
Tony Chen
PM
> To: jquery-en@googlegroups.com
> Subject: [jQuery] Re: animate & hide
>
>
> This should work.
> msg.css("background-color","#faa").animate({'backgroundColor':'#fff'},
> 1000).hide();
>
> If it doesn't, use the callback.
&g
the callback did the trick,
thanks a lot
> This should work.
> msg.css("background-color","#faa").animate({'backgroundColor':'#fff'},
> 1000).hide();
>
> If it doesn't, use the callback.
> msg.css("background-color","#faa").animate({'backgroundColor':'#fff'}, 1000,
> function(){
> // this i
rsday, September 13, 2007 2:24 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: animate & hide
This should work.
msg.css("background-color","#faa").animate({'backgroundColor':'#fff'},
1000).hide();
If it doesn't, use the callback.
msg.css("
This should work.
msg.css("background-color","#faa").animate({'backgroundColor':'#fff'},
1000).hide();
If it doesn't, use the callback.
msg.css("background-color","#faa").animate({'backgroundColor':'#fff'}, 1000,
function(){
// this is the callback
$(this).hide();
})
On 9/13/07, Stefan Ki
same problem :-(
hides at once
>
> Chain the methods, like so:
>
> msg.css("background-color","#faa").animate({'backgroundColor':'#fff'},
> 1000).hide();
>
> Then jQuery will perform them in order.
>
> -Original Message-
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] O
Chain the methods, like so:
msg.css("background-color","#faa").animate({'backgroundColor':'#fff'},
1000).hide();
Then jQuery will perform them in order.
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Stefan Kilp [sk-software]
Sent: Thursday,
7 matches
Mail list logo