I'm using this colorpicker, and it is wonderful. However, I want to use it inside a jQuery dialog box(on an input tag inside a form), but the problem is that when the colorpicker appears it is partially behind the dialog (on the z-axis) and therefore unusable. Any ideas?
This is the html: <input name="bgColor" class="colorSelector">
This is the js:
$('.colorSelector').ColorPicker({
onSubmit: function(hsb, hex, rgb, el) {
$(el).val(hex);
$(el).ColorPickerHide();
},
onBeforeShow: function () {
$(this).ColorPickerSetColor(this.value);
}
})
.bind('keyup', function(){
$(this).ColorPickerSetColor(this.value);
});