an animation for one block at the time

an animation for one block at the time

Hi friends,  

I need your collaboration to complete my work: I have a number of blocks and I want to implement an animation for one block at the time.The order of choosing the block,animation,and the duration will be randomly. I get this problems:

  • I want to apply the animation for each block ,then initial the d array which saves the indexes of the blocks which affected with the animation, to do that again,but there are some block didn't aminate,while the array filled.
  • how to wait for some seconds after each animation.(you'll notic in the scripts the comment:*/wait for some seconds then call m()/* .what is the syntax of  setTimeout() statement to do that
  • the option 'blindDown' doesn't work.
  • I try to call m function in 'complete' option for each animation to make that works infinitely,but this doesn't happen. 
Thanks so much.