I'm aware of doing that 'magic' inside $.when(). How should I achieve same effect writing code more readable ? I read something about a $.Defferer() that I think should help but I don't know how to use it.
What I want is to run multiple animations and at the end of them to show a message, to do something. I know that I can use $(".elm").animate() and all
elm divs will be animated by I use that
.each() to set the delay between them (maybe there's another posibility using animation
progress handlers), but I can't get it to do something at the end of
all animations. What I ask is if there's any other implementation that will to same thing and be more code readeable.