Apress Access

AdvancED DOM Scripting

Dynamic Web Design Techniques

By Jeffrey Sambells , Aaron Gustafson

  • eBook Price: $34.99
Buy eBook Buy Print Book

AdvancED DOM Scripting Cover Image

If you've got a reasonable understanding of JavaScript and the DOM, but now you want to take your skills further, then this book is for you.

Full Description

  • Add to Wishlist
  • ISBN13: 978-1-59059-856-6
  • 592 Pages
  • User Level: Beginner to Advanced
  • Publication Date: August 2, 2007
  • Available eBook Formats: PDF

Related Titles

  • Building APIs with Node.js
  • Java XML and JSON
  • JSON Quick Syntax Reference
  • Reactive Programming with Node.js
  • Pro MEAN Stack Development
  • Beyond jQuery
  • Creating Blogs with Jekyll
Full Description

As a web designer or developer, you know how powerful DOM scripting is for enhancing web pages and applications, adding dynamic functionality and improving the user experience. You've got a reasonable understanding of JavaScript and the DOM, but now you want to take your skills further. This book is all you need—it shows you how to add essential functionality to your web pages, such as on the fly layout and style changes, interface personalization, maps and search using APIs, visual effects using JavaScript libraries, and much more.

  • Includes a quick recap of the basics, for reference purposes
  • Packed with real world JavaScript solutions from beginning to end
  • Written by Beginning Google Maps author Jeffrey Sambells, and includes a case study by JavaScript guru Aaron Gustafson

What you’ll learn

  • A quick recap of the HTML and CSS DOM, methods, and events
  • The basics of how to add dynamic effects and respond to user actions to your web sites using CSS and JavaScript
  • Introduces Ajax to the mix, showing you how to use it, and when not to use it
  • Best practices (such as graceful degredation) and productivity improvement via code reuse (libraries and APIs)
  • Create Mashups using search, photo and mapping APIs
  • Build better, more dynamic user experiences using libraries such as Prototype and Scriptaculous

Who this book is for

This book is for intermediate to advanced web designers and developers who already have a reasonable to good knowledge of HTML, CSS, and JavaScript.

Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.


If you think that you've found an error in this book, please let us know by emailing to editorial@apress.com . You will find any confirmed erratum below, so you can check if your concern has already been addressed.

On page 132:

Should window['ADS']['camelize'] = camelize;
read uncamelize?
* Chapter 4

* Convert camel case wordWord strings to hyphenated word-word strings.
function uncamelize(s, sep) {
sep = sep || '-';
return s.replace(/([a-z])([A-Z])/g, function (strMatch, p1, p2){
return p1 + sep + p2.toLowerCase();
window['ADS']['camelize'] = camelize;

On page 232:

Error: uncaught exception: [Exception... "Security error" code: "1000" nsresult: "0x805303e8 (NS_ERROR_DOM_SECURITY_ERR)" location: "file:///Users/ck/Documents/EDU/JS/AdvancED%20DOM%20Scripting%20/iamamused-foED-AdvancED-DOM-Scripting-2f83ace/ADS-final-verbose.js Line: 769"]


    1. PHP Objects, Patterns, and Practice


      View Book

    2. Beginning Android 3D Game Development


      View Book

    3. Troubleshooting Oracle Performance


      View Book

    4. Beginning Amazon Web Services with Node.js


      View Book