<html> <head> <script type="text/javascript" src="http://script.aculo.us/prototype.js"></script><script type="text/javascript" src="http://script.aculo.us/scriptaculous.js"></script> </head> <body> <div id="d0" style="width:100px; height:50px; background-color:steelblue;"></div> <br> <div id="d1" style="width:100px; height:50px; background-color:steelblue;"></div> <script> new Effect.Move('d0',{x:100,duration:0.5,sync:true,queue:{scope:'noit'}}); new Effect.Move('d1',{x:100,duration:0.5,sync:true,queue:{scope:'noit'}}); var q = Effect.Queues.get('noit'); q.interval = 200; </script> </body> </html>
I want just want d1 to start moving 200ms after d0 starts moving.
But i can start that queue >_<
if you take out sync:true then it just goes parallel