JavaScript is essential for creating modern, interactive websites. But, unlike HTML and CSS, JavaScript is a true programming language with complex rules that are challenging for most web designers to learn. In JavaScript: The Missing Manual, bestselling author David McFarland teaches you how to use JavaScript in sophisticated ways - even if you have little or no programming experience.In a clear, entertaining way, the book starts out by teaching you how to build a basic JavaScript program. Then, once you've mastered the structure and terminology, you'll learn how to use advanced JavaScript tools to add useful interactivity to your sites quickly and painlessly, rather than scripting everything from scratch.
About the Author
David Sawyer McFarland is the president of Sawyer McFarland Media Inc., a web development and training company located in Portland, Oregon. In addition, he teaches JavaScript programming, Flash, and web design at the University of California, Berkeley, the Center for Electronic Art, the Academy of Art College, and Ex'Pressions Center for New Media. He was formerly the webmaster at the University of California, Berkeley, and the Berkeley Multimedia Research Center. David is also the author of CSS: The Missing Manual and Dreamweaver CS3: The Missing Manual.
| The Missing Credits | |
| About the Author | |
| About the Creative Team | |
| Acknowledgements | |
| The Missing Manual Series | |
| Introduction | |
| What Is JavaScript? | |
| HTML: The Barebones Structure | |
| CSS: Adding Style to Web Pages | |
| Software for JavaScript Programming | |
| About This Book | |
| The Very Basics | |
| Getting Started with JavaScript | |
| Writing Your First JavaScript Program | |
| Introducing Programming | |
| How to Add JavaScript to a Page | |
| Your First JavaScript Program | |
| Writing Text on a Web Page | |
| Attaching an External JavaScript File | |
| Tracking Down Errors | |
| The Grammar of JavaScript | |
| Statements | |
| Commands | |
| Types of Data | |
| Variables | |
| Working with Data Types and Variables | |
| Tutorial: Using Variables to Create Messages | |
| Tutorial: Asking for Information | |
| Arrays | |
| Tutorial: Writing to a Web Page Using Arrays | |
| Comments | |
| Adding Logic and Control to Your Programs | |
| Making Programs React Intelligently | |
| Tutorial: Using Conditional Statements | |
| Handling Repetitive Tasks with Loops | |
| Functions: Turn Useful Code Into Reusable Commands | |
| Tutorial: A Simple Quiz | |
| Working with Words, Numbers, and Dates | |
| A Quick Object Lesson | |
| Strings | |
| Finding Patterns in Strings | |
| Numbers | |
| Dates and Times | |
| Tutorial | |
| Dynamically Modifying Web Pages | |
| Modifying Web Pages: An Overview | |
| Understanding the Document Object Model | |
| Introducing JavaScript Libraries | |
| Selecting Page Elements (Revisited) | |
| Adding Content to a Page | |
| Setting and Reading Tag Attributes | |
| Reading, Setting, and Removing HTML Attributes | |
| Creative Headlines | |
| Acting on Each Element in a Selection | |
| Automatic Pull Quotes | |
| Action/Reaction: Making Pages Come Alive with Events | |
| What Are Events? | |
| Using Events with Functions | |
| Tutorial: Highlighting Table Rows | |
| More jQuery Event Concepts | |
| Advanced Event Management | |
| Tutorial: A One-Page FAQ | |
| Improving Your Images | |
| Swapping Images | |
| Tutorial: Adding Rollover Images | |
| jQuery Effects | |
| Tutorial: Photo Gallery with Effects | |
| Advanced Gallery with jQuery lightBox | |
| Tutorial: lightBox Photo Gallery | |
| Animated Slideshows with Cycle | |
| Tutorial: An Automated Slideshow | |
| Building Web Page Features | |
| Improving Navigation | |
| Some Link Basics | |
| Table of Contents provided by Publisher. All Rights Reserved. |
ISBN: 9780596515898
ISBN-10: 0596515898
Series: MISSING MANUALS
Audience:
Professional
Format:
Paperback
Language:
English
Number Of Pages: 546
Published: 14th August 2008
Dimensions (cm): 23.7 x 18.2
x 3.4
Weight (kg): 0.868