DOM Enlightenment

DOM Enlightenment

by Cody Lindley

Paperback

$14.99
View All Available Formats & Editions
Choose Expedited Shipping at checkout for guaranteed delivery by Thursday, August 22

Overview

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

Product Details

ISBN-13: 9781449342845
Publisher: O'Reilly Media, Incorporated
Publication date: 02/28/2013
Pages: 180
Sales rank: 712,872
Product dimensions: 6.90(w) x 9.10(h) x 0.70(d)

About the Author

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.

Table of Contents

  • 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

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews