In this chapter, the second of our heavily example-based as opposed to theory-based chapters, we looked at some more common animations that are increasingly found on the web. Specifically, we looked at the following types of animations:
A proximity-driven image scroller, where the images scrolled in a certain direction and at a certain speed, depending on the movements of the mouse pointer
Background-position animations, in which we created a continuous-header animation manually with just a few lines of code
A text marquee, where a series of headlines were grabbed from a live Internet feed and displayed in a scrolling marquee-style banner
In the next chapter, we'll move to look at some pure CSS animations that were introduced with CSS3, and how jQuery can be used to enhance them and generally make working with them easier.