Tuesday, February 1, 2011

Adjust frames per second for jQuery animations

Use jQuery.fx.interval.
Note from jQuery documentation:
"This property can be manipulated to adjust the number of frames per second at which animations will run. The default is 13 milliseconds. Making this a lower number could make the animations run smoother in faster browsers (such as Chrome) but there may be performance and CPU implications of doing so."

No comments:

Post a Comment