At the end of the last chapter, you ended up with a respectable accordion, which was the first major bit of jQuery you’d embarked on. You might not have realized it, but the code you wrote could be tidied up. In this chapter, we’ll finish events by looking at the more advanced features, including:
Once we’ve covered these features, you’ll take another look at your accordion and do some refactoring to improve the code and make it more efficient. Chapter 7 will look at animation in depth, and you’ll again use the accordion example to ...