开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜