Dynamic HTML: The Definitive Reference, 3rd Edition

book cover
Dynamic HTML: The Definitive Reference, 3rd Edition
By Danny Goodman
Publisher: O'Reilly
Pub Date: December 01, 2006
ISBN-10: 0-596-52740-3
ISBN-13: 978-0-596-52740-2
Pages: 1904

Table of Contents

Packed with information on the latest web specifications and browser features, this new edition is your ultimate one-stop resource for HTML, XHTML, CSS, Document Object Model (DOM), and JavaScript development. Here is the comprehensive reference for designers of Rich Internet Applications who need to operate in all modern browsers, including Internet Explorer 7, Firefox 2, Safari, and Opera.

With this book, you can instantly see browser support for the latest standards-based technologies, including CSS Level 3, DOM Level 3, Web Forms 2.0, XMLHttpRequest for AJAX applications, JavaScript 1.7, and many more. This new edition:

  • Provides at-a-glance references for the tags, attributes, objects, properties, methods, and events of HTML, XHTML, CSS, DOM, and core JavaScript. You can quickly look up a particular feature or language term to see if it is available in desired browser brands and versions.

  • Includes handy cross referencing that lets you look up an attribute (or object property, method, or event type) to find all the items that recognize it, including interrelated HTML tags, style properties, and document object model methods, properties, and events.

  • Offers appendices where you can quickly locate values useful in HTML authoring and scripting. You'll find coverage of commands used across three browsers for user-editable content.

  • Includes a glossary that gives you quick explanations of some of the new and potentially confusing terminology of DHTML.

Dynamic HTML: The Definitive Reference speeds the way to adding sophisticated features to your web pages. Indispensable, complete, and succinct, this bestselling guide is the must-have compendium for all web developers involved in creating dynamic web content.

book cover
Dynamic HTML: The Definitive Reference, 3rd Edition
By Danny Goodman
Publisher: O'Reilly
Pub Date: December 01, 2006
ISBN-10: 0-596-52740-3
ISBN-13: 978-0-596-52740-2
Pages: 1904

Table of Contents

    Part I:  Dynamic HTML Reference
      Chapter 1.  HTML and XHTML Reference
      Section 1.1.  Attribute Value Types
      Section 1.2.  Shared HTML Element Attributes
      Section 1.3.  Shared Event Handler Attributes
      Section 1.4.  Alphabetical Tag Reference
      Chapter 2.  Document Object Model Reference
      Section 2.1.  Property Value Types
      Section 2.2.  About client- and offset- Properties
      Section 2.3.  Default Property Values
      Section 2.4.  Events
      Section 2.5.  Static W3C HTML DOM Objects
      Section 2.6.  Shared Object Properties, Methods, and Events
      Section 2.7.  Alphabetical Object Reference
      Chapter 3.  Event Reference
      Section 3.1.  Alphabetical Event Reference
      Chapter 4.  Style Sheet Property Reference
      Section 4.1.  Property Value Types
      Section 4.2.  Selectors
      Section 4.3.  Pseudo-Element and Pseudo-Class Selectors
      Section 4.4.  At-Rules
      Section 4.5.  Conventions
      Section 4.6.  Alphabetical Property Reference
      Chapter 5.  JavaScript Core Language Reference
      Section 5.1.  About Static Objects
      Section 5.2.  Mozilla Get and Set Methods
      Section 5.3.  ECMAScript for XML (E4X)
      Section 5.4.  ECMAScript Reserved Keywords
      Section 5.5.  Core Objects
      Section 5.6.  Operators
      Section 5.7.  Control Statements
      Section 5.8.  Miscellaneous Statements
      Section 5.9.  Special (Escaped) String Characters
    Part II:  Cross References
      Chapter 6.  HTML/XHTML Attribute Index
      Chapter 7.  DOM Property Index
      Chapter 8.  DOM Method Index
      Chapter 9.  DOM Events Index
    Part III:  Appendixes
      Appendix A.  Color Names and RGB Values
      Appendix B.  HTML Character Entities
      Appendix C.  Keyboard Event Character Values
      Appendix D.  Editable Content Commands
      Section D.1.  The Command System
      Section D.2.  Commanding an Editable Document
      Section D.3.  TextRange Features
      Appendix E.  HTML/XHTML DTD Support
      Appendix F.  The Mozilla Browser Version Trail
    Part IV:  Online Sections: Applying Dynamic HTML
      The State of the Art: Standards
      Section I.1.  The Standards Alphabet Soup
      Section I.2.  Version Headaches
      Section I.3.  HTML
      Section I.4.  XHTML
      Section I.5.  Cascading Style Sheets
      Section I.6.  Document Object Model
      Section I.7.  Web API
      Section I.8.  Web Accessibility Initiative (WAI)
      Section I.9.  Web Hypertext Application Technology Working Group (WHATWG)
      Section I.10.  ECMAScript
      Section I.11.  De Facto Standards
      Section I.12.  A Fragmenting World
      Cross-Platform Compromises
      Section II.1.  What Is a Platform?
      Section II.2.  Standards-Compatible DHTML
      Section II.3.  Internet Explorer DHTML
      Section II.4.  Cross-Platform Strategies
      Section II.5.  Using Third-Party APIs and Frameworks
      Adding Cascading Style Sheets to Documents
      Section III.1.  Observing HTML Structures
      Section III.2.  Understanding the Box Model
      Section III.3.  Two Types of Containment
      Section III.4.  Of Style Sheets, Elements, Properties, and Values
      Section III.5.  Embedding Style Sheets
      Section III.6.  Common Subgroup Selectors
      Section III.7.  Advanced Subgroup Selectors
      Section III.8.  Cascade Precedence Rules
      Section III.9.  Cross-Platform Style Differences
      Changing Page Content and Styles
      Section IV.1.  Writing Variable Content
      Section IV.2.  Writing to Other Frames and Windows
      Section IV.3.  Image Swapping
      Section IV.4.  CSS-Only Image Swaps
      Section IV.5.  Changing Tag Attribute Values
      Section IV.6.  Changing Applied Style Values
      Section IV.7.  Changing Content
      Section IV.8.  Dynamic Tables
      Section IV.9.  Blending XML Data into HTML Pages
      Section IV.10.  Working with Text Ranges
      Section IV.11.  Combining Forces: A Custom Newsletter
      Adding Dynamic Positioning to Documents
      Section V.1.  Creating Positionable Elements
      Section V.2.  Positioning Properties
      Section V.3.  Changing Positioning Values via Scripting
      Section V.4.  Cross-Platform Position Scripting
      Section V.5.  Common Positioning Tasks
      Scripting Events
      Section VI.1.  Event Types
      Section VI.2.  Event Objects
      Section VI.3.  Binding Events to Elements
      Section VI.4.  Preventing Default Event Actions
      Section VI.5.  Event Propagation
      Section VI.6.  Understanding Keyboard Event Data
      Section VI.7.  Dragging Elements
      Section VI.8.  Event Futures
      XMLHttpRequest and Ajax
      Section VII.1.  A Brief History Lesson
      Section VII.2.  Application Design Considerations
      Section VII.3.  Using XMLHttpRequest
      Section VII.4.  Debugging XMLHttpRequest Code
      Section VII.5.  REST Versus SOAP
      Section VII.6.  Using XMLHttpRequest for Other Data Types
   About the Author