Back to JS main page

BY:IMA STUDIOS
DATE:1996-10-20


COMMENTS:

This code can be used for many differant types of applications. Imagine having an online help, or a catalog with 1000's of items!

For this example, we used a library of colors. Simply enter a color into the textbox below - depressing the 'submit' button will bring up an alert window giving the hex value of the color (if it exists in the database). It will also bring up a small window with the background as the color you requested.

Please input a color:


Enter a hex value in the textbox. Do not include the "#" symbols and make sure the letter values are in "CAPS". Hit submit and it will display the color's name in the box below. Pressing 'view' will bring up a small window with the background as the color you requested.

Please input a hex value:


Result

If you want this script just choose "Save Frame As..." (in Netscape) when you have the focus on the frame.

URL: http://www.oocities.org/SiliconValley/7116/jv_coldb.html