Class DHTMLSuite.colorSlider
Object
|
+--DHTMLSuite.colorSlider
- class
DHTMLSuite.colorSlider
This is a color slider class
Defined in dhtml-suite-for-applications.js
Author: Alf Magne Kalleland(www.dhtmlgoodies.com)
Version: 1.0
Method Summary |
Object
|
getDivElement()
Return a reference to the main div element for this widget.
|
void
|
init()
Initializes the script
|
Object
|
setRgbColor(rgbCode)
Set new rgb code
|
colorHelper
Object colorHelper
currentBlue
Object currentBlue
currentBlueHex
Object currentBlueHex
currentGreen
Object currentGreen
currentGreenHex
Object currentGreenHex
currentRed
Object currentRed
currentRedHex
Object currentRedHex
currentRgb
Object currentRgb
layoutCSS
Object layoutCSS
objectIndex
Object objectIndex
DHTMLSuite.colorSlider
DHTMLSuite.colorSlider(propertyArray)
Parameters:
Array
- properties - Possible keys: css file used for this widget: color-widget.css Demo: (demo 1)
Author: Alf Magne Kalleland(www.dhtmlgoodies.com)
Version: 1.0
getDivElement
Object getDivElement()
Return a reference to the main div element for this widget. you can use appendChild() to append it to an element on your web page.
DHTMLSuite.colorSlider.prototype.example = document.body.appendChild(colorSlider.getDivElement());.
Returns:
Object divElement - Reference to div element for this widget
init
void init()
setRgbColor
Object setRgbColor(rgbCode)
Parameters:
String
- rgbCode - New RGB code in the format RRGGBB
Documentation generated by
JSDoc on Mon Oct 8 10:17:27 2007