Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Pause between animate(s) method(s) in code

$
0
0

Hi, I have this code:

 

sym.$("foco").animate({"opacity":"1"},{duration:2000, easing:"swing", queue:true});

sym.$("foco").animate({"opacity":"0"},{duration:1000, easing:"swing", queue:true});

// I need pause here

sym.$("llanta").animate({"opacity":"1"},{duration:2000, easing:"swing", queue:true});

sym.$("llanta").animate({"opacity":"0"},{duration:1000, easing:"swing", queue:true});

 

And I need that execute first two lines and after the last two lines, but always execute both at the same time, how I implement a pause between animate method for execute sequentially?

 

Thanks.


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>