The colorpicker is showed under Dhtmlx layout and not on it so it is impossible to use.
This is the code:
dhtmlxEvent(window,“load”,function(){
var main_layout = new dhtmlXLayoutObject(document.body, ‘3W’);
main_layout.cells(“b”).attachObject(“ThreeJS”)
var a = main_layout.cells(‘a’);
//a.collapse();
a.setWidth(‘200’);
a.fixSize(1,0);
var b = main_layout.cells(‘b’);
b.setWidth(‘600’);
b.hideHeader();
var c = main_layout.cells(‘c’);
c.setWidth(‘350’);
c.hideHeader();
c.fixSize(1,0);
var toolbar_1 = main_layout.attachToolbar();
toolbar_1.setIconSize(32);
toolbar_1.setIconsPath(‘./codebase/imgs/32/’);
toolbar_1.loadStruct(‘./data/toolbar.xml’, function() {});
toolbar_1.setAlign(“right”);
var myColorPicker = new dhtmlXColorPicker({
parent : “colorPicker”,
color : “#0000ff”,
custom_colors : true
});
myColorPicker.setPosition(100,100);
myColorPicker.show();
});