Execute multiple jQuery effects on the same element in parallel

后端 未结 2 2232
后悔当初
后悔当初 2021-02-20 08:51

I see that this question was asked many times, but none of the solutions worked for me. I have two effects that I want to execute in parallel.

I want the box to fade-in

2条回答
  •  抹茶落季
    2021-02-20 09:32

    Chain the UI effects, and use dequeue() to execute them all at once.

    $("#t").hide().show("fade", {},  {duration:1200}).effect("bounce", { times:3 },  { duration:400}).dequeue();
    

    FIDDLE

提交回复
热议问题