Book Image

Mastering jQuery

By : Alex Libby
Book Image

Mastering jQuery

By: Alex Libby

Overview of this book

<p>Mastering jQuery has been written not only to help maximize your skills with core functionality in the library, but also to explore some of the more intriguing ways of using the library to achieve real-world solutions that could feature on any website or online environment.</p> <p>You'll start with a look at some of the more advanced ways to incorporate the library into your pages, followed by working with forms and advanced form validation using regular expressions. Next you'll move on to animating in jQuery, advanced event handling, and using jQuery effects.</p> <p>Finally, you will develop practical examples of using jQuery with external functionality such as node-webkit, before finishing with a session on optimizing your version of the library for maximum efficiency and exploring best practices for using QUnit.</p>
Table of Contents (21 chapters)
Mastering jQuery
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 8. Using jQuery Effects

Adding event handlers to any website is a necessary must; after all, we need some way to respond to legitimate events in our code.

The flip side of this is adding effects – done well, they can be hugely rewarding, although some of the novelty can wear off, particularly if you've used all of the core effects to death! Revitalize your sites with new, custom effects – we'll see how to do this in this chapter, as well as managing the resulting queues. Over the next few pages, we'll cover the following topics:

  • Revisiting basic effects

  • Adding callbacks

  • Constructing custom effects

  • Creating and managing the effect queue

Intrigued? Let's make a start…