aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes overlapping animations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "overlapping animations" Watch "overlapping animations" New topic
Author

overlapping animations

emmanuel durand
Greenhorn

Joined: Mar 17, 2011
Posts: 2
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 ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: overlapping animations