animate() & fadeTo() both synchronous
I have a problem with the following two methods. $(this).fadeTo(200, .8).animate({bottom: 130}, 200);
Both are synchronous, therefore first it fades to, then it animates.
Is it possible to use fadeTo
with animate
?
开发者_开发问答(CSS option 'opacity' is not cross-browser compatible and therefore not an option)
$(this).animate({
bottom: 130,
opacity: 0.8
}, 200);
jQuery will set things up to make opacity working on IE. See Animate opacity doesn't work properly on IE
精彩评论