Animation revisited
To refresh our memory about jQuery's effect methods, we'll set up a baseline from which to build in this chapter, starting with a simple hover animation. Using a document with photo thumbnails on it, we'll make each photo grow slightly when the user's mouse is over it, and shrink back to its original size when the mouse leaves. The HTML tags we'll use also contain some textual information that's hidden for now, which we'll use later in the chapter:
<div class="team"> <div class="member"> <img class="avatar" src="photos/rey.jpg" alt="" /> <div class="name">Rey Bango</div> <div class="location">Florida</div> <p class="bio">Rey Bango is a consultant living in South Florida, specializing in web application development...</p> </div> <div class="member"> <img class="avatar" src="photos/scott.jpg" alt="" /> <div class="name">Scott González</div>...