Hi everyone. I was trying to set up a queue where i move one div then
move the other div 200ms after that.

But im not able to start the queue. Heres the code:

<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>

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to