JavaScript & DHTML Cookbook by Danny Goodman The following corrections were made to the 12/03 reprint of "JavaScript & DHTML Cookbook": 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 {194} line 14; function isLen16((elem) { NOW READS: function isLen16(elem) { {294} makeTrailMenu(); The code NOW READS: for (var i = parseStart; i < parseEnd; i++) { if (i == parseStart) { trail += "/" + leaves[i] + volDelim; output += ""; output += "Home" + "" + separator; } else if (i == parseEnd - 1) { output += document.title; } else { trail += leaves[i] + "/"; output += ""; output += trailMenu[leaves[i]] + "" + separator; } } (297) 2nd paragraph; The first style sheet rule NOW READS ".OLRow" instead of ".row". (357) 12.8 Adjusting Element Transparency; The third code example in the "Solution" section of page 357 NOW READS: #watermark {-moz-opacity:0.25} (394) 8th and 9th non-blank line of Example 13-4; var divID = (target.name && target.src) ? target.name + "Wrap" : "" target.name + "Wrap" : ""; NOW READS: var divID = (target.name && target.src) ? target.name + "Wrap" : ""; (semicolon added to end of line 8, line 9 completely DELETED)