5. Visual Effects and Animation
jQuery supports the full range of visual effects and animation.
These effects can give your Web pages a very professional and dynamic appearance. This chapter shows you what jQuery has to offer.
jQuery Visual Effects Overview
This chapter starts with the basics, the show( )
and hide( )
functions, which you use to show and hide page elements. Showing and hiding is a cool effect in a Web page because space is always at a premium in Web pages, and this effect can help you display items only when needed.
You can also use the show( )
and hide( )
functions to set the duration (in milliseconds) of the showing and hiding transitions. For example, you can gradually hide a page element. You can also specify a callback ...
Get jQuery: Visual QuickStart Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.