
Learning jQuery - Fourth Edition

To complete these exercises, you will need the index.html
file for this chapter, as well as the finished JavaScript code as found in complete.js
. These files can be downloaded from the Packt Publishing website at http://www.packtpub.com/support.
The challenge exercises may require the use of the official jQuery documentation at http://api.jquery.com/.
Define a new animation speed constant called zippy
and apply this to the biography display effect.
Change the easing of the horizontal movement of member details so that they bounce into place.
Add a second deferred callback function to the promise that adds a highlight
class to the current member's location <div>
.
Challenge: Add a delay of two seconds before animating the biography. Use the jQuery .delay()
method.
Challenge: When the active photo is clicked, collapse the bio details. Stop any running animation before doing so.
Change the font size
Change margin width
Change background colour