
DOM Enlightenment
Exploring JavaScript and the Modern DOM
Cody Lindley(Author)
O'Reilly (Publisher)
1st Edition
Published on 2. April 2013
Book
178 pages
978-1-4493-4284-5 (ISBN)
Description
With DOM Enlightenment, you'll learn how to manipulate HTML more efficiently by scripting the Document Object Model (DOM) without a DOM library. Using code examples in cookbook style, author Cody Lindley (jQuery Cookbook) walks you through modern DOM concepts to demonstrate how various node objects work.
Over the past decade, developers have buried the DOM under frameworks that simplify its use. This book brings these tools back into focus, using concepts and code native to modern browsers. If you have JavaScript experience, you'll understand the role jQuery plays in DOM scripting, and learn how to use the DOM directly in applications for mobile devices and specific browsers that require low overhead.
* Understand JavaScript node objects and their relationship to the DOM
* Learn the properties and methods of document, element, text, and DocumentFragment objects
* Delve into element node selecting, geometry, and inline styles
* Add CSS style sheets to an HTML document and use CSSStyleRule objects
* Set up DOM events by using different code patterns
* Learn the author's vision for dom.js, a jQuery-inspired DOM Library for modern browsers
More details
Language
English
Place of publication
Sebastopol
United States
Product notice
Paperback (trade)
Unsewn / adhesive bound
Dimensions
Height: 233 mm
Width: 177 mm
Thickness: 15 mm
Weight
299 gr
ISBN-13
978-1-4493-4284-5 (9781449342845)
Schweitzer Classification
Other editions
Additional editions

E-Book
02/2013
O'Reilly
€9.99
Available for download

E-Book
02/2013
O'Reilly
€9.49
Available for download
Person
Cody Lindley, editor of jQuery Cookbook, brings together over a dozen contributors, all of them key people in jQuery's ongoing development process. Each focuses on subjects they've worked with and often helped create.
Content
- Foreword
- Preface
- Chapter 1: Node Overview
- Chapter 2: Document Nodes
- Chapter 3: Element Nodes
- Chapter 4: Element Node Selection
- Chapter 5: Element Node Geometry and Scrolling Geometry
- Chapter 6: Element Node Inline Styles
- Chapter 7: Text Nodes
- Chapter 8: DocumentFragment Nodes
- Chapter 9: CSS Stylesheets and CSS Rules
- Chapter 10: JavaScript in the DOM
- Chapter 11: DOM Events
- Chapter 12: Creating dom.js: A Wishful jQuery-Inspired DOM Library for Modern Browsers
- Colophon