Pop-up Color Picker
The Pop-up Color Picker component is a pop-up window containing color tiles
of "browser-safe" colors, such as the palette of colors from NetObjects
Fusion. Users can pick a color and when picked, can specify that an
action take place, such as changing the background color of another
page.
Properties
name
- Hint: (REQUIRED) Enter unique name of the control. Must exactly match the name of the corresponding JavaScript object on the page.
- Type: String
- Default Value: ColorPicker1
- Get-Function Name: getName()
- Set-Function Name: setName()
top
- Hint: Top (y) coordinate on the screen where the new window will be placed.
- Type: Number
left
- Hint: Left (x) coordinate on the screen where the new window will be placed.
- Type: Number
testMode
- Hint: Select the test mode.
- Value Set: off | alerts | text
- Type: String
- Default Value: off
- Is Expert: Yes
Methods
Open
- Name: open()
- Hint: Opens the new window.
Close
- Name: close()
- Hint: Closes the window.
Convert To Hex
- Name: convertToHex(int)
- Hint: A utility method that converts an integer to it's hexidecimal equivalent, as a string.
- Is Expert: Yes
Events
On Open
- Name: onOpen()
- Hint: Event fires after the window is opened.
On Close
- Name: onClose()
- Hint: Event fires after the window is closed.
On Color Select
- Name: onSelColor()
- Hint: Event fires when a color tile is clicked.
Other Information
Environment: Client