The samples in this site are designed to demonstrate the technologies highlighted in the book and act as a supplement to the resources provided.
Download this site as a Zip file.
Most of chapter 3 was dedicated to the Bingo card example. I have included the final version here for reference.
Working with images and forms are the two most important tasks that drive a webmaster to JavaScript. It is fairly easy once you understand the basics of handling events. If necessary review Chapter 9 to gain more information about events, first.
if (top.location != self.location) { top.location.replace(self.location); }
The example provided in the book is a very powerful, but difficult to follow example. It can be used, as is, with little modification. However, I recommend using a much more simple model when starting out with JavaScript and the DOM.
Regular Expression are very complex. Once created they are extremely difficult to decipher, even for an exerienced programmer. As a result, they are outside the scope of this class.
I am currently looking for a good reference on the DOM (online, as well as in print).
These examples are right out of the book