Previous Example-|-Next Example-|-Return to Chapter Listing
Example 15.3:
Referring to Frames
Note that we had to change the script in this example. Originally we used a function named reset(), but as reset is a reserved word in JavaScript 1.2 this script won't work in Netscape Navigator 4. Therefore we renamed the function to resetColors(). Click on the buttons to change the colors:
These are the scripts we used. First, this in the HEAD:
Then these buttons:
Previous Example-|-Next Example-|-Return to Chapter Listing