If I put an alert() at each loop, I see the animation of the div step by step at each alert message.
But if I remove the alert(), there is no animation, it goes straight to the end position, so I guess the problem is that the div needs some kind of refresh.
But I don't know how to do that!
PLEASE, I DO NOT WANT TO USE ANY MODULE such as ajax or jquery. I am sure there is a simple solution to do this.
Thanks a lot for your help!
HERE IS MY TEST PAGE :
And the same without alert() :