Previous Example-|-Next Example-|-Return to Chapter Listing
Example 10.2:
Setting the bgColor Property
This page sets the 'bgColor' property of a the document object to "indigo"
and then allows the user to change the color by clicking buttons.
These are the scripts we used. First, this in the HEAD:
Then this in the BODY:
Previous Example-|-Next Example-|-Return to Chapter Listing