version 1.1:
- Websafe color calculated, displayed and can be select
- done some css issue
- works enter in the input fields
- ext basic skins added to demo
version 1.1:
- Websafe color calculated, displayed and can be select
- done some css issue
- works enter in the input fields
- ext basic skins added to demo
Any idea or bug or comment?
Or is it the best colorpicker? :p![]()
Hi amon,
your picker is great.
I think that not much people have an app which needs a colorpicker, i see the colorpicker in a complex app within a property grid, and therefore it's great, i don't know any other solution.
Could you add this to the wiki pages ?
I have developed some PHP image filters and in future i plan to build a GUI for these php classes. So the ColorPicker Widget is perfect for thisEspecially for the colorize filter
And if you can see, this extension is availible in the Wiki
http://extjs.com/learn/Extension:Yui_Color_Picker
@Amon
If you implement the dd funcionality, i have nothing to say, except this:
Your Extension is just great![]()
I'm really glad you made thisI'm working on an ajax application (with ext) that used YUI's color picker, which was necessary, yet sorta inefficient, as i had like 90k for the YUI, 12k for the adapter, 12k for slider.js and another 20k for the color picker itself. Now, i can just use the ext-base.js, and your relatively lighweight colorpicker.ux.js
one problem i'm facing is that it's not compatable with YUI compressor.
Here is the output:
Another is, that it's sorta hard to replace your hue picker icons with those in the real YUI, so i resorted to this small hack.Code:The YUI Compressor reported the following error(s): 399invalid property id 368syntax error 117Compilation produced 2 syntax errors. org.mozilla.javascript.EvaluatorException: Compilation produced 2 syntax errors. at com.yahoo.platform.yui.compressor.JavaScriptErrorReporter.runtimeError(JavaScriptErrorReporter.java:36) at org.mozilla.javascript.Parser.parse(Parser.java:391) at org.mozilla.javascript.Parser.parse(Parser.java:336) at com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScriptCompressor.java:348) at com.yahoo.platform.yui.compressor.YUICompressor.main(YUICompressor.java:111)Anyways, i look forward to the version with drag support.Code:picker.huePointer.dom.style.left="-2px";
Hello,
Has anyone by chance extended the ColorPicker control as a TriggerField?
Thanks,
-Craig
Colorpicker packages is YUI Compressor compatible now.
The minified version of Colorpicker is minimized with that.
version 1.1.1:
- YUI Compressor compatibility
http://ux.theba.hu/colorpicker/
http://extjs.com/learn/Extension:Yui_Color_Picker
Next version is under development for ExtJS 2.0
Demo: http://ux.theba.hu/colorpicker2/
http://ux.theba.hu/colorpicker (Ext 1)
Didn't work for me, the color picker box and the sliding box were a solid color. When you clicked in the box however it gave you what I can only assume would have been the correct color. (I'm using firefox 2.0.0.7)
http://ux.theba.hu/colorpicker2 (Ext 2)
Works great! Awsome work...
Update:
2.0 alpha version is done (works in FireFox 2).
Until 2.0 stable todo:
- small IE6 position and margin problems
- resolve opera collapsing bug (it's Ext2.0 problem)
new features:
- Three mutation: ColorPicker (just a control without any box), ColorPanel (with Ext2 Panel) and ColorDialog (with Ext2 Window)
- inverse color selection
- 256x256 mask instead of 182x182