The jQuery library is amazing enough on its own, but it has yet another wonderful surprise up its sleeve: a marvelous plugin interface that makes new plugins or extensions to the library easy to add.
The plugins do many things, from changing the way your page looks to including audio and simplifying certain AJAX calls. This chapter contains a sampling of jQuery plugins I've found useful, but there are many more available at the jQuery main site (
Each plugin is different, but the general approach to using them is the same:
Visit the appropriate Web page.
Check the jQuery main site for a list of jQuery plugins (
http://plugins.jquery.com). You can download each plugin from the jQuery site or get a link to the plugin's home page, where you'll generally find more complete help information.
Download the plugin.
Create a basic XHTML page.
Check the documentation to see what elements you need. Most jQuery plugins modify or replace some existing element in the Web page.
Most jQuery functions (including plugins) require some sort of initialization function.
Call the appropriate jQuery function.
Most plugins just add new functions to jQuery. For the most part, you'll apply these functions to ...