Errata for IE5 Dynamic HTML Programmer's Reference   [ISBN: 1-861001-74-6]

Wrox Logo
Chapter Page Details Date Print Run
  82 Usage of the forward, back and go methods
The second line of the code fragment at the foot of page 82 demonstrates incorrect usage of the history.forward method. The fragment should reads as follows:

If history.length > 5 Then history.go 5

Subsequent reprints of the book will reflect the changes outlined above.

With thanks to Ming-cheng Hsu




23-Jun-99 1
  92 Usage of the forward, back and go methods
In the code sample on pages 92-93, there are two procedures which employ the history.forward and history.back methods. In fact, they should both employ the history.go method instead. So, the procedures should look more like this:

Sub cmdBack_onclick()
...
history.go -intPlaces
End Sub


and

Sub cmdForward_onclick()
...
history.go intPlaces
End Sub


The discussion of the code on page 94 should also refer to the history.go method. Note also the related erratum for page 82.

I have today updated the on-line download that supports this book; subsequent reprints of the book will reflect the changes outlined above.

With thanks to Ming-cheng Hsu




23-Jun-99 1
  103 The createElement() method is more versatile in IE5
The first paragraph of the section Creating and Referencing Elements reads as follows:

We can create instances of certain types of new elements using the createElement method. This is limited to IMG image tags, list-box OPTION tags and image-map AREA tags, and allows us to create a new element in code, and set its properties.

Matt Harvell has indicated that these limitations on the versatility of createElement method are only applicable to IE4. In Matt's words: "In IE5, it is quite possible to create just about anything in the document from the createElement method, the only exceptions of which I am aware are the IFRAME, TEXTAREA, OBJECT and APPLET tags (but there may be more)."

Thanks to Matt Harvell





06-Jan-00 1
  104 Incorrect method (tagName) used in code fragment
In order to reflect the screenshot at the top of page 104, the accompanying code fragment should read:

MsgBox document.elementFromPoint(100, 70).src

With thanks to Ming-cheng Hsu







23-Jun-99 1
  123 Superfluous underscores...
The underscores at the end of line 12 and line 14 of the first code sample should both be deleted.

Thanks to Ming-cheng Hsu


28-Jun-99 1
  124 More superfluous underscores...
The underscores at the end of line 2 and line 4 of page 124 should both be deleted.

Thanks to Ming-cheng Hsu


28-Jun-99 1
  203 The resizable attribute of the ShowModalDialog method
In the table on page 203, and elsewhere in the book, the resizable attribute has been misspelled. To clarify: resizeable is incorrect; resizable is correct.

Thanks to Kathleen Yu


07-Feb-00 1