How can I start a second event after I moved a DIV with effect.move()?
I use the function discribed here:
http://wiki.script.aculo.us/scriptaculous/show/Effect.Move

My code looks like:

<script type="text/javascript">
new Effect.Move(articleList,{ x: 100, mode: 'absolute', duration:1.5,
afterFinish:alert('finished')});
</script>

<div id="articleList">
asdf
</div>


afterFinish:alert('finished') comes when the effect starts, not when
its finish!

The reason for what I need this:
I want to prevent other effect to start, before this move-effect has
finished.

powtac


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---

Reply via email to