Sams Teach Yourself JavaScript in 24 Hours Free Open Book

Sams Teach Yourself JavaScript in 24 Hours

Previous Page
Next Page

Sams Teach Yourself JavaScript in 24 Hours

Book Cover

Sams Teach Yourself JavaScript in 24 Hours
By Michael Moncur
Publisher: Sams
Pub Date: June 21, 2006
Print ISBN-10: 0-672-32879-8
Print ISBN-13: 978-0-672-32879-4  
                     Pages: 456


Table of Contents  | Index
    Copyright
    About the Author
    Acknowledgments
    We Want to Hear from You!
    Introduction
    Part I:  Introducing the Concept of Web scripting and the JavaScript Language
      Hour 1.  Understanding JavaScript
      Learning Web Scripting Basics
      How JavaScript Fits into a Web Page
      Browsers and JavaScript
      Specifying JavaScript Versions
      JavaScript Beyond the Browser
      Exploring JavaScript's Capabilities
      Alternatives to JavaScript
      Summary
      Q&A
      Quiz Questions
      Quiz Answers
      Exercises
      Hour 2.  Creating Simple Scripts
      Tools for Scripting
      Displaying Time with JavaScript
      Beginning the Script
      Adding JavaScript Statements
      Creating Output
      Adding the Script to a Web Page
      Testing the Script
      Summary
      Q&A
      Quiz Questions
      Quiz Answers
      Exercises
      Hour 3.  Getting Started with JavaScript Programming
      Basic Concepts
      JavaScript Syntax Rules
      Using Comments
      Best Practices for JavaScript
      Summary
      Q&A
      Quiz Questions
      Quiz Answers
      Exercises
      Hour 4.  Working with the Document Object Model (DOM)
      Understanding the Document Object Model (DOM)
      Using window Objects
      Working with Web Documents
      Accessing Browser History
      Working with the location Object
      Summary
      Q&A
      Quiz Questions
      Quiz Answers
      Exercises
    Part II:  Learning JavaScript Basics
      Hour 5.  Using Variables, Strings, and Arrays
      Using Variables
      Understanding Expressions and Operators
      Data Types in JavaScript
      Converting Between Data Types
      Using String Objects
      Working with Substrings
      Using Numeric Arrays
      Using String Arrays
      Sorting a Numeric Array
      Summary
      Q&A
      Quiz Questions
      Quiz Answers
      Exercises
      Hour 6.  Using Functions and Objects
      Using Functions
      Introducing Objects
      Using Objects to Simplify Scripting
      Extending Built-in Objects
      Summary
      Q&A
      Quiz Questions
      Quiz Answers
      Exercises
      Hour 7.  Controlling Flow with Conditions and Loops
      The if Statement
      Using Shorthand Conditional Expressions
      Testing Multiple Conditions with if and else
      Using Multiple Conditions with switch
      Using for Loops
      Using while Loops
      Using do…while Loops
      Working with Loops
      Looping Through Object Properties
      Summary
      Q&A
      Quiz Questions
      Quiz Answers
      Exercises
      Hour 8.  Using Built-in Functions and Libraries
      Using the Math Object
      Working with Math Functions
      Using the with Keyword
      Working with Dates
      Using Third-Party Libraries
      Other Libraries
      Summary
      Q&A
      Quiz Questions
      Quiz Answers
      Exercises
    Part III:  Learning More About the DOM
      Hour 9.  Responding to Events
      Understanding Event Handlers
      Using Mouse Events
      Using Keyboard Events
      Using the onLoad and onUnload Events
      Summary
      Q&A
      Quiz Questions
      Quiz Answers
      Exercises
      Hour 10.  Using Windows and Frames
      Controlling Windows with Objects
      Moving and Resizing Windows
      Using Timeouts
      Displaying Dialog Boxes
      Working with Frames
      Summary
      Q&A
      Quiz Questions
      Quiz Answers
      Exercises
      Hour 11.  Getting Data with Forms
      The Basics of HTML Forms
      Using the form Object with JavaScript
      Scripting Form Elements
      Displaying Data from a Form
      Sending Form Results by Email
      Summary
      Q&A
      Quiz Questions
      Quiz Answers
      Exercises
      Hour 12.  Working with Style Sheets
      Style and Substance
      Defining and Using CSS Styles
      Using CSS Properties
      Creating a Simple Style Sheet
      Using External Style Sheets
      Controlling Styles with JavaScript
      Summary
      Q&A
      Quiz Questions
      Quiz Answers
      Exercises
      Hour 13.  Using the W3C DOM
      The DOM and Dynamic HTML
      Understanding DOM Structure
      Creating Positionable Elements (Layers)
      Summary
      Q&A
      Quiz Questions
      Quiz Answers
      Exercises
      Hour 14.  Using Advanced DOM Features
      Working with DOM Nodes
      Hiding and Showing Objects
      Modifying Text Within a Page
      Adding Text to a Page
      Summary
      Q&A
      Quiz Questions
      Quiz Answers
      Exercises
    Part IV:  Working with Advanced JavaScript Features
      Hour 15.  Unobtrusive Scripting
      Scripting Best Practices
      Reading Browser Information
      Cross-Browser Scripting
      Supporting Non-JavaScript Browsers
      Summary
      Q&A
      Quiz Questions
      Quiz Answers
      Exercises
      Hour 16.  Debugging JavaScript Applications
      Avoiding Bugs
      Basic Debugging Tools
      Creating Error Handlers
      Advanced Debugging Tools
      Summary
      Q&A
      Quiz Questions
      Quiz Answers
      Exercises
      Hour 17.  AJAX: Remote Scripting
      Introducing AJAX
      Using XMLHttpRequest
      Creating a Simple AJAX Library
      Creating an AJAX Quiz Using the Library
      Debugging AJAX Applications
      Summary
      Q&A
      Quiz Questions
      Quiz Answers
      Exercises
      Hour 18.  Greasemonkey: Enhancing the Web with JavaScript
      Introducing Greasemonkey
      Working with User Scripts
      Creating Your Own User Scripts
      Summary
      Q&A
      Quiz Questions
      Quiz Answers
      Exercises
    Part V:  Building Multimedia Applications with JavaScript
      Hour 19.  Using Graphics and Animation
      Using Dynamic Images
      Creating Rollovers
      A Simple JavaScript Slideshow
      Summary
      Q&A
      Quiz Questions
      Quiz Answers
      Exercises
      Hour 20.  Working with Sound and Plug-Ins
      Introducing Plug-Ins
      JavaScript and Flash
      Playing Sounds with JavaScript
      Testing Sounds in JavaScript
      Summary
      Q&A
      Quiz Questions
      Quiz Answers
      Exercises
    Part VI:  Creating Complex Scripts
      Hour 21.  Building JavaScript Drop-Down Menus
      Designing Drop-Down Menus
      Scripting Drop-Down Menu Behavior
      Summary
      Q&A
      Quiz Questions
      Quiz Answers
      Exercises
      Hour 22.  Creating a JavaScript Game
      About the Game
      Creating the HTML Document
      Creating the Script
      Adding Style with CSS
      Summary
      Q&A
      Quiz Questions
      Quiz Answers
      Exercises
      Hour 23.  Creating JavaScript Applications
      Creating a Scrolling Window
      Style Sheet Switching with JavaScript
      Summary
      Q&A
      Quiz Questions
      Quiz Answers
      Exercises
      Hour 24.  Your Future with JavaScript
      Learning Advanced JavaScript Techniques
      Future Web Technologies
      Planning for the Future
      Moving on to Other Languages
      Summary
      Q&A
      Quiz Questions
      Quiz Answers
      Exercises
    Part VII:  Appendixes
      Appendix A.  Other JavaScript Resources
      Other Books
      JavaScript Websites
      Web Development Sites
      This Book's Website
      Appendix B.  Tools for JavaScript Developers
      HTML and Text Editors
      HTML Validators
      Debugging Tools
      Appendix C.  Glossary
     
      Appendix D.  JavaScript Quick Reference
      Built-in Objects
      Creating and Customizing Objects
      JavaScript Statements
      JavaScript Built-in Functions
      Appendix E.  DOM Quick Reference
      DOM Level 0
      DOM Level 1
    Index
Previous Page
Next Page
Index: [SYMBOL][A][B][C][D][E][F][G][H][I][J][K][L][M][N][O][P][Q][R][S][T][U][V][W][X][Y]


     Main Menu
Sams Teach Yourself JavaScript in 24 Hours
Table of Contents
Copyright
About the Author
Acknowledgments
Part I: Introducing the Concept of Web scripting and the JavaScript Language
Part II: Learning JavaScript Basics
Part III: Learning More About the DOM
Part IV: Working with Advanced JavaScript Features
Part V: Building Multimedia Applications with JavaScript
Part VI: Creating Complex Scripts
Part VII: Appendixes
Index


More Books
PHP Hacks
Processing Xml With Java - A Guide To Sax, Dom, Jdom, Jaxp, And Trax
The Koran (Holy Qur'an)
Macromedia Flash 8 Bible
Search Engine Optimization for Dummies
YouTube Traffic
PHP 5 for Dummies
Harry Potter and The Chamber of Secrets
Harry Potter and the Sorcerer's Stone
The Pilgrim's Progress
Wireless Hacks
Flash Hacks. 100 Industrial-Strength Tips & Tools
PayPal Hacks. 100 Industrial-Strength Tips and Tools
Amazon Hacks
Pdf Hacks
The Da Vinci Code
Google Hacks
The Holy Bible
Windows XP For Dummies
Harry Potter and the Half-Blood Prince
Seo Book
Upgrading and Repairing Networks
Macromedia Dreamweaver 8 UNLEASHED
Windows XP Annoyances
Windows XP Hacks
Microsoft Windows XP Power Toolkit
Teach Yourself MS Office In 24Hours
iPod & iTunes Missing Manual
PC Hacks 100 Industrial-Strength Tips and Tools
PC Overclocking, Optimization, and Tuning - 2th Edition
PC Hardware In A Nutshell 3rd Edition
PC Hardware in a Nutshell, 2nd Edition
Upgrading and Repairing PCs
Google for Dummies
MySQL Cookbook
Teach Yourself Macromedia Flash 8 In 24 Hours
PHP CookBook
Sams Teach Yourself JavaScript in 24 Hours
PHP5 Manual
Free Games Paper Airplanes