Skip to main content
  • Book
  • © 2010

DOM Scripting

Web Design with JavaScript and the Document Object Model

Apress
  • DOM Scripting: Web Design with Java.

  • Script and the Document Object Model gives you everything you need to start using Java.

  • Script and the Document Object Model to enhance your web pages with client-side dynamic effects.

Buy it now

Buying options

eBook USD 59.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (12 chapters)

  1. Front Matter

    Pages i-xvi
  2. A Brief History of JavaScript

    • Jeremy Keith, Jeffrey Sambells
    Pages 1-6
  3. JavaScript Syntax

    • Jeremy Keith, Jeffrey Sambells
    Pages 7-29
  4. The Document Object Model

    • Jeremy Keith, Jeffrey Sambells
    Pages 31-44
  5. A JavaScript Image Gallery

    • Jeremy Keith, Jeffrey Sambells
    Pages 45-58
  6. Best Practices

    • Jeremy Keith, Jeffrey Sambells
    Pages 59-71
  7. The Image Gallery Revisited

    • Jeremy Keith, Jeffrey Sambells
    Pages 73-93
  8. Creating Markup on the Fly

    • Jeremy Keith, Jeffrey Sambells
    Pages 95-122
  9. Enhancing Content

    • Jeremy Keith, Jeffrey Sambells
    Pages 123-148
  10. CSS-DOM

    • Jeremy Keith, Jeffrey Sambells
    Pages 149-174
  11. An Animated Slideshow

    • Jeremy Keith, Jeffrey Sambells
    Pages 175-204
  12. HTML5

    • Jeremy Keith, Jeffrey Sambells
    Pages 205-226
  13. Putting It All Together

    • Jeremy Keith, Jeffrey Sambells
    Pages 227-277
  14. Back Matter

    Pages 279-314

About this book

With this second edition of the popular DOM Scripting: Web Design with JavaScript and the Document Object Model comes a modern revision to update best practices and guidelines. It includes full coverage of HTML5 in a new, dedicated chapter, and details on JavaScript libraries and how they can help your scripting.

The book provides everything you'll need to start using JavaScript and the Document Object Model to enhance your web pages with client-side dynamic effects and user-controlled animation. It shows how JavaScript, HTML5, and Cascading Style Sheets (CSS) work together to create usable, standards-compliant web designs. We'll also cover cross-browser compatibility with DOM scripts and how to make sure they degrade gracefully when JavaScript isn't available.

DOM Scripting: Web Design with JavaScript and the Document Object Model focuses on JavaScript for adding dynamic effects and manipulating page structure on the fly using the Document Object Model. You'll start with a crash course in JavaScript and the DOM, then move on to several real-world examples that you'll build from scratch, including dynamic image galleries and dynamic menus. You'll also learn how to manipulate web page styles using the CSS DOM, and create markup on the fly.

If you want to create websites that are beautiful, dynamic, accessible, and standards-compliant, this is the book for you!

About the authors

Jeremy Keith is a web developer living and working in Brighton, England. Working with the web consultancy firm Clearleft (Clearleft.com), he enjoys building accessible, elegant websites using the troika of web standards: XHTML, CSS, and the DOM. His online home is Adactio.com. Jeremy is also a member of the WebStandards.org, where he serves as joint leader of the DOM Scripting Task Force. When he's not building websites, Jeremy plays bouzouki in the alt.country band Salter Cane (SalterCane.com). He is also the creator and curator of one of the web's largest online communities dedicated to Irish traditional music, TheSession.org.

Bibliographic Information

Buy it now

Buying options

eBook USD 59.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access