• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

overlapping animations

 
emmanuel durand
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
i have a table whose "cell" values are updated every seconds. Moreover each value change is highlighted by a fade animation (using jquery) which could last for let's say 3 seconds. I used a setInterval javascript function. But the result is that the effect occuring on a cell only last for one second instead of tree seconds. Javascript is single threaded i know be how is it possible to have the event queue rearrange in a way that allow : cell one modification + fade animation happen correctly in the same time of others cells modifications + other animations ? I noticed too that if the div containing the table has a scrollbar, and that i use this scrollbar during the animations then just stop until i release the use of the scrollbar because the event of animation has no time to execute anymore.
How can i resolve this problem ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic