Errata

Dynamic HTML: The Definitive Reference

Errata for Dynamic HTML: The Definitive Reference

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
Printed
Page xi
lines -1 and -2: changed the URL for the errata page to

"http://www.oreilly.com/catalog/9781565924949".

Anonymous    Oct 01, 1998
Printed
Page 5

Used to read:


(www.w3c.org/MarkUp)

Now reads:

(www.w3.org/MarkUp)

Anonymous    Jan 01, 2000
Printed
Page 24
The lines

output += "<P STYLE='margin-top:5;align:center'><B>Instructions</B></
P>"
now read:
output += "<P STYLE='margin-top:5; align:center'>"
output += "<B>Instructions</B></P>"

Anonymous    Mar 01, 2000
Printed
Page 26
Line 6 of code

if (navigator.appName.indexOf("Microsoft") != -1)
now reads:
if (navigator.appName == "Netscape")

Anonymous    Mar 01, 2000
Printed
Page 43

Used to read:

<LINK REL =STYLESHEET TYPE="sheetMimeType" HREF="filename.css"

Now reads:

<LINK REL =STYLESHEET TYPE="sheetMimeType" HREF="filename.css">
^

Anonymous    Jul 01, 1999
Printed
Page 46

7th line of code: changed "face" to "family" to read:

BODY {font-family : Arial, serif}

The same change was made to:
page 47, 7th line of code
page 48, 7th line of third code block
page 50, 9th line of code

Anonymous    Nov 01, 1998
Printed
Page 47
Line 4 of Example 3-2

P.narrow {margin-left:5em; margin-right:5em}
now reads:
P.narrow {color:red; margin-left:5em; margin-right:5em}

Anonymous    Mar 01, 2000
Printed
Page 50
9th line in Example 3-4:

BODY {font-face:Arial, serif}

now reads:

BODY {font-face:Times New Roman, serif}

Anonymous    Oct 01, 2000
Printed
Page 85
2nd code block, 2nd and 3rd lines

added "style." between "elementName." and "pixel..."
and (3rd line only) changed "Height" to "Top"
to read:

document.all.elementName.style.pixelLeft += 10
document.all.elementName.style.pixelTop += 10

Anonymous    Nov 01, 1998
Printed
Page 91-92
Changed 5 occurrences of (isNav4) to (isNav)

Anonymous    Mar 01, 2000
Printed
Page 110
Example 5-6, line 13:

var onImgArray = new Array()

changed to

var offImgArray = new Array()

Anonymous    Oct 01, 1998
Printed
Page 136
First full paragraph, last word

Changed "verify()" to "convertToUpper()"

Anonymous    Mar 01, 2000
Printed
Page 145

Used to read:


window.event.cancelBubble

Now reads:

window.event.cancelBubble = true

Anonymous    Jan 01, 2000
Printed
Page 155
Example 6-4, line -11 through line -7 (the definition of release(evt))

function release(evt) {
setZIndex(selectedObj, 0)
setBorderColor(selectedObj, "black")
selectedObj = null
}

changed to

function release(evt) {
if (selectedObj) {
setZIndex(selectedObj, 0)
setBorderColor(selectedObj, "black")
selectedObj = null
}
}

(This corrected a problem that can occur when someone clicks on
the page background in Netscape Navigator.)

(156 reprinted for page break.)

Anonymous    Oct 01, 1998
Printed
Page 196 & 197
Removed stray quote mark from

<AREA _"_COORDS= ... >

Anonymous    Mar 01, 2000
Printed
Page 343
On the line that used to read HREF

NN n/a IE 3 HTML all

Changed to

NN 4 IE 3 HTML all

Anonymous    Jul 01, 1999
Printed
Page 365
under "ARCHIVE", "URLs" was changed to "URIs" (twice in the main

description) and "URL" was changed to "URI" (once in the description and once
under "Value"). Also, in the syntax info under the rule, "URLList" was changed
to "URIList".

Anonymous    Oct 01, 2000
Printed
Page 407
MEDIA entry of <STYLE> tag

Changed Default from "screen" to "all"

Anonymous    Jun 01, 2000
Printed
Page 411
Background entry

Changed "NN 4" to "NN n/a"

Anonymous    Mar 01, 2000
Printed
Page 411
BACKGROUND entry

Changed "NN n/a" back to "NN 4".
Added the following to the description paragraph:

For NN 4, you may have to nest your main table (with a transparent
background image) inside another table that bears the desired
background graphic.

Anonymous    Jun 01, 2000
Printed
Page 412
BORDERCOLOR entry

Changed "NN 4" and "HTML 4" to "NN n/a" and "HTML n/a".

Anonymous    Jun 01, 2000
Printed
Page 554
Under "title", "Read/Write" (under the rule) was changed to "Read/Write

(IE only)."

Anonymous    Oct 01, 2000
Printed
Page 561
write(), writeln() entry

Under "Parameters", removed the second sentence and replaced it with:

For a SCRIPT tag, use document.write("<" + "SCRIPT>"). For the
end script hiding statement, use document.write("//--" + ">").


Anonymous    Jun 01, 2000
Printed
Page 572
Added the following after the first sentence under "keyCode"

"For onKeyPress events, the value represents the actual character
displayed in a text box (e.g., 65 for "A" and 97 for "a"). But for
onKeyDown and onKeyUp events, only the uppercase value is returned,
regardless of the case of the character that is rendered."

Anonymous    Mar 01, 2000
Printed
Page 585
Value entry

Changed "read/write" to "read-only"

Anonymous    Mar 01, 2000
Printed
Page 591

Used to read:


for (var i=0; document.forms[0].length; i++) {

Now reads:

for (var i=0; i < document.forms[0].length; i++)

Anonymous    Jan 01, 2000
Printed
Page 665

The systemLanguage Example did read:

if (navigator.systemLanguage = "nl" )
now reads:
if (navigator.systemLanguage == "nl" )

Anonymous    Mar 01, 2000
Printed
Page 679
add() entry

Deleted the last sentence of the description and replaced it with:

Using the add() method with a parameter that matches an existing
option's index value replaces the old item with the new one. You
cannot insert an item among existing items without rebuilding the
entire options array.

Anonymous    Jun 01, 2000
Printed
Page 718

Next to "options[]" it used to read:

NN n/a IE 4 DOM n/a

Now reads:

NN 2 IE 3 DOM 1

Anonymous    Jul 01, 1999
Printed
Page 718
options[] entry

now reads:
NN 2 IE 3 DOM 1

Anonymous    Mar 01, 2000
Printed
Page 760

{760} "recordNumber entry", last line: removed "(see recordset property)"

Anonymous    Oct 01, 1998
Printed
Page 784
"wrap"

In the current description, "physical" now reads "hard"; "virtual" now reads
"soft". In the last sentence, the end was changed to read "when the
<CW>WRAP</CW> attribute is set to the Navigator value of <CW>virtual</CW>."

Then, the "Example" now reads:

document.forms[0].comments.wrap = "hard"

Then, the "Value" now reads:

One of the constant values (as a string): hard | off | soft.

Anonymous    Oct 01, 2000
Printed
Page 826
Next to "moveBy()" changed to

"NN 4 IE 4 DOM n/a".

Anonymous    Jul 01, 1999
Printed
Page 827

Next to "moveTo()" it now reads:

"NN 4 IE 4 DOM n/a".

Anonymous    Jul 01, 1999
Printed
Page 829
to the right of the heading "print ()"

changed the "n/a" after "NN" to "4"
and changed the "4" after "IE" to "n/a"
to read:

NN 4 IE n/a DOM n/a

Anonymous    Nov 01, 1998
Printed
Page 829
Table

added the following 2 entries:
left - 4 Offset of window's left edge from left edge of screen.
top - 4 Offset of window's top edge from top edge of screen.

Anonymous    Mar 01, 2000
Printed
Page 830

Under resizeBy(), paragraph 1, line 5 used to read:

The top and bottom edges remain fixed.....

Now reads:

The top and left edges remain fixed...

Anonymous    Jul 01, 1999
Printed
Page 831
scrollBy() entry

Behavior of deltaX and deltaY is the reverse of what was described.

3rd and 4th sentences now read:

Positive values for deltaX scroll the document to the left (so
the user sees content to the right in the document); negative
values scroll the document to the right. Positive values for
deltaY scroll the document upward (so the user sees content lower
in the document); negative values scroll the document downward.

Anonymous    Jun 01, 2000
Printed
Page 841
The last bullet item should read "Items may be in any order."

Anonymous   
Printed
Page 865

Changed the CSS filter grayscale() to gray()

Also, in the "chroma()" line, put "color" in
CW in the second sentence ("The color parameter...").

And, in the "glow()" line, put "color" and "strength" in the
second sentence in CW ("The color parameter...and strength sets...").

And, in the "shadow()" line, put "color" in CW in the second
sentence ("The color parameter...").

Anonymous    Jun 01, 2000
Printed
Page 875
Toward the bottom of the page, under "Object Model Reference," the

line of code used to read:

[window.]document.all.elementID.style.offsetLeft

Now reads:

[window.]document.all.elementID.style.left

Anonymous    Jul 01, 1999
Printed
Page 902
Near the top of the page, under "Object Model Reference," the

line of code used to read:

[window.]document.all.elementID.style.offsetTop

Now reads:

[window.]document.all.elementID.style.top

Anonymous    Jul 01, 1999
Printed
Page 943

The first sentence in the last paragraph on the page did read:

'as a parameter is a variety of methods'

now reads:
'as a parameter in a variety of methods'

Anonymous    Mar 01, 2000
Printed
Page 944
Table 11-1:.

Character entry * -- changed /d*/ in the Example column to /d*/

Character entry ? -- changed /d?/ in the Example column to /d?/

Character entry + -- changed /d+/ in the Example column to /d+/

Character entry {n} -- changed /d{2}/ in the Example column to /d{2}/

Character entry {n,} -- changed /d{2,}/ in the Example column to
/d{2,}/

Character entry {n,m} -- changed /d{2,4}/ in the Example column to
/d{2,4}/

Anonymous    Mar 01, 2000
Printed
Page 958
Last sentence on page

Did read:
After an AND operation on these two values, the binary result
is 0010; the decimal equivalent is 3.
Now reads:
After an AND operation on these two values, the binary result
is 0010; the decimal equivalent is 2.

Anonymous    Jun 01, 2000