neoFREE1: Color Picker Example


This example publication demonstrates how to display a color picker in your publications.

It uses the new facilities made available in NeoBook v5.5 that allow improved interaction between NeoBook script commands and Javascript in HTML documents opened in a Browser Object.

Includes a subroutine that translates color codes from hexadecimal values to decimal numbers.

An off screen Browser Object is displayed in a Custom Window ; a document with a an html Table containing different colored cells is loaded into the Browser Object.

As you move your mouse pointer, the color value of the cell underneath is displayed at the bottom of the table ; a larger view of the color is also shown.

When you click on a (colored) cell within the Table, the value of the selected color is sent to the pub ... which is displayed in the Text Box below the Browser Object.