You are previewing Sams Teach Yourself JavaScript in 24 Hours.
O'Reilly logo
Sams Teach Yourself JavaScript in 24 Hours

Book Description

JavaScript is one of the easiest, most straightforward ways to enhance a website with interactivity. Sams Teach Yourself JavaScript in 24 Hours, 4th Edition serves as an easy-to-understand tutorial on both scripting basics and JavaScript itself. The book is written in a clear and personable style with an extensive use of practical, complete examples. It also includes material on the latest developments in JavaScript and web scripting. You will learn how to use JavaScript to enhance web pages with interactive forms, objects, and cookies, as well as how to use JavaScript to work with games, animation, and multimedia.

Table of Contents

  1. Title Page
  2. Copyright Page
  3. Contents at a Glance
  4. Table of Contents
  5. About the Author
  6. Dedication
  7. Acknowledgments
  8. We Want to Hear from You!
  9. Introduction
  10. Part I: Introducing the Concept of Web scripting and the JavaScript Language
    1. Hour 1: Understanding JavaScript
    2. Hour 2: Creating Simple Scripts
    3. Hour 3: Getting Started with JavaScript Programming
    4. Hour 4: Working with the Document Object Model (DOM)
  11. Part II: Learning JavaScript Basics
    1. Hour 5: Using Variables, Strings, and Arrays
    2. Hour 6: Using Functions and Objects
    3. Hour 7: Controlling Flow with Conditions and Loops
    4. Hour 8: Using Built-in Functions and Libraries
  12. Part III: Learning More About the DOM
    1. Hour 9: Responding to Events
    2. Hour 10: Using Windows and Frames
    3. Hour 11: Getting Data with Forms
    4. Hour 12: Working with Style Sheets
    5. Hour 13: Using the W3C DOM
    6. Hour 14: Using Advanced DOM Features
  13. Part IV: Working with Advanced JavaScript Features
    1. Hour 15: Unobtrusive Scripting
    2. Hour 16: Debugging JavaScript Applications
    3. Hour 17: AJAX: Remote Scripting
    4. Hour 18: Greasemonkey: Enhancing the Web with JavaScript
  14. V. Building Multimedia Applications with JavaScript
    1. Hour 19: Using Graphics and Animation
    2. Hour 20: Working with Sound and Plug-Ins
  15. Part VI: Creating Complex Scripts
    1. Hour 21: Building JavaScript Drop-Down Menus
    2. Hour 22: Creating a JavaScript Game
    3. Hour 23: Creating JavaScript Applications
    4. Hour 24: Your Future with JavaScript
  16. Part VII: Appendixes
    1. Appendix A: Other JavaScript Resources
    2. Appendix B: Tools for JavaScript Developers
    3. Appendix C: Glossary
    4. Appendix D: JavaScript Quick Reference
    5. Appendix E: DOM Quick Reference
  17. Index