Example of Color Picker Built in a Dialog via JavaScript
Example of Color Picker Built in a Dialog via JavaScript
This example explores the implementation of a Color Picker Control within the context of a popup Dialog. The control can be called up in the floating Dialog, a color can be chosen, and upon submission of the Color Picker's value the color data is submitted to the server using Dialog's built-in support for Connection Manager.
Click the "Show Color Picker" button to get started. Use the other buttons on the configuration dashboard to explore different configurations of the Color Picker Controls. When you submit your color choice, the example uses Connection Manager to echo back the form fields that were passed to the server.
Please choose a color:
Server response will be displayed in this area
yui_2.7.0b.zip( 4,431 k)