The Missing Credits; About the Author; About the Creative Team; Acknowledgements; The Missing Manual Series; Introduction; What Is JavaScript?; What Is jQuery?; HTML: The Barebones Structure; CSS: Adding Style to Web Pages; Software for JavaScript Programming; About This Book; The Very Basics; About the Online Resources; Part One: Getting Started with JavaScript; Chapter 1: Writing Your First JavaScript Program; 1.1 Introducing Programming; 1.2 How to Add JavaScript to a Page; 1.3 Your First JavaScript Program; 1.4 Writing Text on a Web Page; 1.5 Attaching an External JavaScript File; 1.6 Tracking Down Errors; Chapter 2: The Grammar of JavaScript; 2.1 Statements; 2.2 Built-In Functions; 2.3 Types of Data; 2.4 Variables; 2.5 Working with Data Types and Variables; 2.6 Tutorial: Using Variables to Create Messages; 2.7 Tutorial: Asking for Information; 2.8 Arrays; 2.9 Tutorial: Writing to a Web Page Using Arrays; 2.10 A Quick Object Lesson; 2.11 Comments; Chapter 3: Adding Logic and Control to Your Programs; 3.1 Making Programs React Intelligently; 3.2 Tutorial: Using Conditional Statements; 3.3 Handling Repetitive Tasks with Loops; 3.4 Functions: Turn Useful Code Into Reusable Commands; 3.5 Tutorial: A Simple Quiz; Part Two: Getting Started with jQuery; Chapter 4: Introducing jQuery; 4.1 About JavaScript Libraries; 4.2 Getting jQuery; 4.3 Adding jQuery to a Page; 4.4 Modifying Web Pages: An Overview; 4.5 Understanding the Document Object Model; 4.6 Selecting Page Elements: The jQuery Way; 4.7 Adding Content to a Page; 4.8 Setting and Reading Tag Attributes; 4.9 Reading, Setting, and Removing HTML Attributes; 4.10 Acting on Each Element in a Selection; 4.11 Automatic Pull Quotes; Chapter 5: Action/Reaction: Making Pages Come Alive with Events; 5.1 What Are Events?; 5.2 Using Events the jQuery Way; 5.3 Tutorial: Introducing Events; 5.4 More jQuery Event Concepts; 5.5 Advanced Event Management; 5.6 Tutorial: A One-Page FAQ; Chapter 6: Animations and Effects; 6.1 jQuery Effects; 6.2 Tutorial: Login Slider; 6.3 Animations; 6.4 Performing an Action After an Effect Is Completed; 6.5 Tutorial: Animated Dashboard; Part Three: Building Web Page Features; Chapter 7: Improving Your Images; 7.1 Swapping Images; 7.2 Tutorial: Adding Rollover Images; 7.3 Tutorial: Photo Gallery with Effects; 7.4 Advanced Gallery with jQuery FancyBox; 7.5 Tutorial: FancyBox Photo Gallery; Chapter 8: Improving Navigation; 8.1 Some Link Basics; 8.2 Opening External Links in a New Window; 8.3 Creating New Windows; 8.4 Opening Pages in a Window on the Page; 8.5 Basic, Animated Navigation Bar; Chapter 9: Enhancing Web Forms; 9.1 Understanding Forms; 9.2 Adding Smarts to Your Forms; 9.3 Tutorial: Basic Form Enhancements; 9.4 Form Validation; 9.5 Validation Tutorial; Chapter 10: Expanding Your Interface; 10.1 Organizing Information in Tabbed Panels; 10.2 Adding a Content Slider to Your Site; 10.3 Determining the Size and Position of Page Elements; 10.4 Adding Tooltips; Part Four: Ajax: Communication with the Web Server; Chapter 11: Introducing Ajax; 11.1 What Is Ajax?; 11.2 Ajax: The Basics; 11.3 Ajax the jQuery Way; 11.4 JSON; Chapter 12: Flickr and Google Maps; 12.1 Introducing JSONP; 12.2 Adding a Flickr Feed to Your Site; 12.3 Tutorial: Adding Flickr Images to Your Site; 12.4 Adding Google Maps to Your Site; Part Five: Tips, Tricks, and Troubleshooting; Chapter 13: Getting the Most from jQuery; 13.1 Useful jQuery Tips and Information; 13.2 Using the jQuery Docs; 13.3 Traversing the DOM; 13.4 More Functions For Manipulating HTML; 13.5 Advanced Event Handling; Chapter 14: Going Further with JavaScript; 14.1 Working with Strings; 14.2 Finding Patterns in Strings; 14.3 Working with Numbers; 14.4 Dates and Times; 14.5 Putting It All Together; 14.6 Writing More Efficient JavaScript; 14.7 Creating Fast-Loading JavaScript; Chapter 15: Troubleshooting and Debugging; 15.1 Top JavaScript Programming Mistakes; 15.2 Debugging with Firebug; 15.3 Debugging Tutorial; JavaScript Resources; References; Basic JavaScript; jQuery; Ajax; Advanced JavaScript; CSS; Colophon;