Previous Example-|-Next Example-|-Return to Chapter Listing
Example 17.10:
The Color Chart
We created this Color Chart using a similar system to that shown in Example 17.9. You can see the actual script used at the bottom of this page.
Click on a color to change the background. Note that most colors will look different in VGA (16 colors) from the way they'll look in 256-color mode (or greater), so you may want to
pick colors to suit VGA. What may look nice in 256-colors may look murky in VGA.
These are the scripts we used. First, in the HEAD:
Later in the Web page the function is called from this form:
Previous Example-|-Next
Example-|-Return to Chapter Listing