Dynamic HTML: The Definitive Guide, 2nd Edition
by Danny Goodman
The following errata were corrected in the 3/04 reprint:
Here's a key to the markup:
[page-number]: serious technical mistake
{page-number}: minor technical mistake
: important language/formatting problem
(page-number): language change or minor formatting problem
(51) IN PRINT: "In-Document Styles", line 5;
"While placing a style definition in an element's tag flaunts the trend..."
NOW READS:
"While placing a style definition in an element's tag flouts the trend..."
(56) Common Subgroup Selectors, line 2;
The "t" was missing from "isn't." This error HAS BEEN CORRECTED.
{63} third line of the code example near the bottom of page
p:first-line {font-style:small-caps}
NOW READS:
p:first-line {font-variant:small-caps}
(90) first line;
theObj = seekLayer(document.layers[i].document, name);
NOW READS:
theObj = seekLayer(doc.layers[i].document, name);
(195) Table of HTML named colors;
The color name "Silverd" NOW READS "Silver"
{176} example 6.2;
body {font-family:Ariel,
NOW READS:
body {font-family:Arial,
(402) 2nd script tag example;
The second script tag example includes the attribute:
scr="scripts/myscript.js"
The attribute name HAS BEEN CHANGED to src, not scr.
(818) Top paragraph, object section;
The last sentence of the first paragraph on the page NOW READS:
The object property wrapper tells the JavaScript interpreter to access the
property of the
external object loaded into the element, and not the property of the HTML
element itself.
(1065) NN Supported Types;
In the heading for the display section in the css portion, it stated that
display is
compatible with NN4.
The compatibility rating for the 'display' property (bottom of page 1064)
NOW READS:
NN 6 IE 4 CSS 1
{1167} random(); In the formula -
Math.floor(Math.random() * n)
NOW READS:
Math.floor(Math.random() * (n+1))
(1198) 3rd paragraph;
While explaining the increment operator ++ with two short scripting
examples, the
second one contained a slight mistake:
var a, b;
a = 5;
b = a--;
NOW READS:
var a, b;
a = 5;
b = a++;