25 June, 2008 at 19:49
Dual licensed under the MIT License and the GNU General Public License, jQuery is free and open source software.
jQuery has a nice selection of core animation effects, such as
.fadeOut(). It even has a couple methods for toggling effects — the aptly named
All of these methods have optional speed, easing, and callback arguments — although a couple are special cases. The
.hide() methods, when used without a speed, will immediately show and hide the matched set of elements with no animation. When the speed argument is included, the matched elements are shown and hidden gradually by animating their height, width, and opacity simultaneously. The
.toggle() method shares its name with a method that takes two arguments that alternate being triggered. All of the other effect methods have a default speed of 400ms.