- Full Description
If you want to create websites that are beautiful, dynamic, accessible, and standards-compliant, this is the book for you!
What youll learn
- Use web standards to ensure cross-browser compatibility
- Harness the power of the DOM to create user-controlled animation
- Also includes an introduction to Ajax
Who this book is for
This book is for web developers wanting to expand their knowledge of the DOM to add interactivity and functionality to their web pages.
- Table of Contents
Table of Contents
- The Document Object Model
- Best Practices
- The Image Gallery Revisited
- Creating Markup on the Fly
- Enhancing Content
- An Animated Slideshow
- Putting It All Together
- DOM Scripting Libraries
- Source Code/Downloads
On page 63:example paragraphs 5,7,9 are missing their respective closing right parentheses on the popup function:
5 should be:
6 should be:
9 should be:
On page 70:
On the first code snipe the character 's' is missing from the src attribute:
On page 84:
On page 116:
The instruction and the bottom of the page says to "create a response.txt file" and the subsequent code examples all use "example.txt"
On page 141:
Midway down the page the line of code is:
"var quoteElements = ..."
This is changed further down the page to:
"var = quoteChildren = ..."
The quoteChildren variable is from that point.
On page 142:At the end of page 142:
Here's the finished displayAbbreviations function:
Here's the finished displayCitations function:
On page 235:
Near the top of the page, the background-image url for "header nav" is:
but should be:
On page 242:
The code at the top of the page is missing the final closing brace -- there should be four closing braces.
On page 246:
Near the top:
"Add the following lines to the prepareSlideshow function in home.js."
On page 258:
A semicolon is missing after this line in the block of code at the bottom of the page. Should be:
rows[i].oldClassName = rows[i].className;