| | Copyright |
| | Words of thanks |
| | Introduction |
| | Chapter 1. Purpose |
| | | Section A. Conceptual overview |
| | | Section B. Technical overview |
| | | Section C. JavaScript history |
| | Chapter 2. Context |
| | | Section A. The CSS revolution |
| | | Section B. Separation of presentation and structure |
| | | Section C. Separation of behavior and structure |
| | | Section D. Separation of behavior and presentation |
| | | Section E. Accessibility overview |
| | | Section F. Rules of accessibility |
| | | Section G. The example scripts |
| | Chapter 3. Browsers |
| | | Section A. The browsers |
| | | Section B. Incompatibilities |
| | | Section C. Object detection |
| | | Section D. Browser detection |
| | | Section E. Debugging |
| | Chapter 4. Preparation |
| | | Section A. HTML and CSS structure |
| | | Section B. Hooks |
| | | Section C. Preparing the page |
| | | Section D. The <script> tag |
| | | Section E. Initialization |
| | | Section F. The example scripts |
| | Chapter 5. Core |
| | | Section A. The basics |
| | | Section B. Data types |
| | | Section C. Common operators |
| | | Section D. Variables |
| | | Section E. Working with numbers |
| | | Section F. Working with strings |
| | | Section G. Working with booleans |
| | | Section H. Control structures |
| | | Section I. Functions |
| | | Section J. Objects |
| | | Section K. Associative arrays |
| | | Section L. Arrays |
| | Chapter 6. BOM |
| | | Section A. The window object |
| | | Section B. Cross-window communication |
| | | Section C. Navigation |
| | | Section D. Window geometry |
| | | Section E. Miscellaneous |
| | | Section F. The document object |
| | | Section G. Cookies |
| | Chapter 7. Events |
| | | Section A. Browser incompatibilities |
| | | Section B. The events |
| | | Section C. Event-handler registration |
| | | Section D. Event bubbling and capturing |
| | | Section E. The event object and its properties |
| | | Section F. Targeting |
| | | Section G. The example scripts |
| | | Section H. Dropdown Menu, mouseouts, and the related target |
| | Chapter 8. DOM |
| | | Section A. Concepts |
| | | Section B. Finding elements |
| | | Section C. Node information |
| | | Section D. Changing the document tree |
| | | Section E. Creating and cloning elements |
| | | Section F. innerHTML |
| | | Section G. Attributes |
| | | Section H. Text nodes |
| | | Section I. nodeLists |
| | | Section J. Forms and the Level 0 DOM |
| | | Section K. DOM hyperspace |
| | | Section L. Markers |
| | Chapter 9. CSS modification |
| | | Section A. The style property |
| | | Section B. Changing classes and ids |
| | | Section C. Writing CSS into the page |
| | | Section D. Changing entire style sheets |
| | | Section E. Comparison |
| | | Section F. Showing and hiding elements |
| | | Section G. Animations |
| | | Section H. Dimensions and position of elements |
| | Chapter 10. Data retrieval |
| | | Section A. Sending the request |
| | | Section B. Handling the response |
| | | Section C. The response format |
| | | Section D. Accessibility |
| | Afterword |
| | | The future of JavaScript |
| | Index |