| This is a sample document to demonstrate how
to embed the ColorDiver Widget in a web document.
View the source and note the id given to the table
cell containing this text.(td1) Next note the Javascript
function (catchdiver) which receives the selected color
from the widget.
The catchdiver() function receives the selected color
from the widget and uses it to change the background
color of this table cell.
Finally note the content of Table Cell #2. The only content
required is the calling script with your unique id.
|
Move the mouse over the image to locate a color. Click to select.
Click again after selection to reenable the control.
|