Synopses & Reviews
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.
Synopsis
Packed with information on the latest web specifications -- including XHTML, CSS, DOM, and JavaScript -- the new edition of Dynamic HTML: The Definitive Guide teaches you how to master the Ajax approach to web application development. In particular, this comprehensive book shows you how Dynamic HTML takes advantage of vastly underused computing power to make web pages more interactive and responsive, while freeing the server from mundane page reloads for the smallest change indicated by the user. You will be able to explore each specification, and learn how to combine XHTML and JavaScript with CSS and the Document Object Model (DOM) to greatly enhance the experience and productivity of a web site visitor. Even if you're a programming newcomer, you will be able to add sophisticated features to your web pages, even if you don't (or can't) do any server programming. Indispensable, complete, and succinct, this bestselling guide is the must-have compendium for all web developers involved in creating dynamic web content.
Synopsis
Packed with information on the latest Web specifications--including XHTML, CSS, DOM, and JavaScript--this new edition teaches how to master the Ajax approach to Web application development.
About the Author
Danny Goodman has been writing about personal computers and consumer electronics since the late 1970s. In 2006, he celebrated 25 years as a freelance writer and programmer, having published hundreds of magazine articles, several commercial software products, and three dozen computer books. Through the years, his most popular book titles - on HyperCard, AppleScript, JavaScript, and Dynamic HTML - have covered programming environments that are both accessible to non-professionals, yet powerful enough to engage experts. His Dynamic HTML: The Definitive Reference, now in its third edition, is an O'Reilly bestseller.To keep up to date on the needs of web developers for his recent books, Danny is also a programming consultant to some of the industry's top intranet development groups and corporations. His expertise in implementing sensible cross-browser client-side scripting solutions is in high demand and allows him to, in his words, "get code under my fingernails while solving real-world problems."
Danny was born in Chicago, Illinois during the Truman Administration. He earned a B.A. and M.A. in Classical Antiquity from the University of Wisconsin, Madison. He moved to California in 1983 and lives in a small San Francisco area coastal community, where he alternates views between computer screens and the Pacific Ocean.
Table of Contents
Preface; What You Should Already Know; Contents of This Book; Conventions Used in This Book; Additional Online Content; Using Code Examples; How to Contact Us; Acknowledgments; Part I: Dynamic HTML Reference; Chapter 1: HTML and XHTML Reference; 1.1 Attribute Value Types; 1.2 Shared HTML Element Attributes; 1.3 Shared Event Handler Attributes; 1.4 Alphabetical Tag Reference; Chapter 2: Document Object Model Reference; 2.1 Property Value Types; 2.2 About client- and offset- Properties; 2.3 Default Property Values; 2.4 Events; 2.5 Static W3C HTML DOM Objects; 2.6 Shared Object Properties, Methods, and Events; 2.7 Alphabetical Object Reference; Chapter 3: Event Reference; 3.1 Alphabetical Event Reference; Chapter 4: Style Sheet Property Reference; 4.1 Property Value Types; 4.2 Selectors; 4.3 Pseudo-Element and Pseudo-Class Selectors; 4.4 At-Rules; 4.5 Conventions; 4.6 Alphabetical Property Reference; Chapter 5: JavaScript Core Language Reference; 5.1 About Static Objects; 5.2 Mozilla Get and Set Methods; 5.3 ECMAScript for XML (E4X); 5.4 ECMAScript Reserved Keywords; 5.5 Core Objects; 5.6 Operators; 5.7 Control Statements; 5.8 Miscellaneous Statements; 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; D.1 The Command System; D.2 Commanding an Editable Document; D.3 TextRange Features; Appendix E: HTML/XHTML DTD Support; Appendix F: The Mozilla Browser Version Trail; Part IV: Applying Dynamic HTML; Chapter ONLINE SECTION I: The State of the Art: Standards; I.1 The Standards Alphabet Soup; I.2 Version Headaches; I.3 HTML; I.4 XHTML; I.5 Cascading Style Sheets; I.6 Document Object Model; I.7 Web API; I.8 Web Accessibility Initiative (WAI); I.9 Web Hypertext Application Technology Working Group (WHATWG); I.10 ECMAScript; I.11 De Facto Standards; I.12 A Fragmenting World; Chapter ONLINE SECTION II: Cross-Platform Compromises; II.1 What Is a Platform?; II.2 Standards-Compatible DHTML; II.3 Internet Explorer DHTML; II.4 Cross-Platform Strategies; II.5 Using Third-Party APIs and Frameworks; Chapter ONLINE SECTION III: Adding Cascading Style Sheets to Documents; III.1 Observing HTML Structures; III.2 Understanding the Box Model; III.3 Two Types of Containment; III.4 Of Style Sheets, Elements, Properties, and Values; III.5 Embedding Style Sheets; III.6 Common Subgroup Selectors; III.7 Advanced Subgroup Selectors; III.8 Cascade Precedence Rules; III.9 Cross-Platform Style Differences; Chapter ONLINE SECTION IV: Changing Page Content and Styles; IV.1 Writing Variable Content; IV.2 Writing to Other Frames and Windows; IV.3 Image Swapping; IV.4 CSS-Only Image Swaps; IV.5 Changing Tag Attribute Values; IV.6 Changing Applied Style Values; IV.7 Changing Content; IV.8 Dynamic Tables; IV.9 Blending XML Data into HTML Pages; IV.10 Working with Text Ranges; IV.11 Combining Forces: A Custom Newsletter; Chapter ONLINE SECTION V: Adding Dynamic Positioning to Documents; V.1 Creating Positionable Elements; V.2 Positioning Properties; V.3 Changing Positioning Values via Scripting; V.4 Cross-Platform Position Scripting; V.5 Common Positioning Tasks; Chapter ONLINE SECTION VI: Scripting Events; VI.1 Event Types; VI.2 Event Objects; VI.3 Binding Events to Elements; VI.4 Preventing Default Event Actions; VI.5 Event Propagation; VI.6 Understanding Keyboard Event Data; VI.7 Dragging Elements; VI.8 Event Futures; Chapter ONLINE SECTION VII: XMLHttpRequest and Ajax; VII.1 A Brief History Lesson; VII.2 Application Design Considerations; VII.3 Using XMLHttpRequest; VII.4 Debugging XMLHttpRequest Code; VII.5 REST Versus SOAP; VII.6 Using XMLHttpRequest for Other Data Types; Colophon;