Apr
22
Synopsis
Adopt a restrained and consistent approach to implementing animation functionality.
Description
jQuery provides some basic functionality, the simplest of which is demonstrated by the following code:
$("#MyDiv").hide("slow");
Here, the hiding of MyDiv is animated.
It is important that a consistent approach to the use of effects and anuimation is adopted across the web application.
There is a temptation when discovering this functionality to ‘go nuts’ and have divs whizzing in from all angles with buttons flashing and all hell breaking loose. In general you should try to show restraint when using animation.
If possible, feed animation use into UI standards.
jQuery Coding Standards Menu
[...] Effects and Animation [...]
[...] Effects and Animation [...]