Hi, all!

Not only can you pick your friends and your nose, but also your
colors...

http://wanderinghorse.net/computing/javascript/#colorpicker

Example usage:

$('#MyDemoColorPicker1').empty().braindeadColorSelector({
        clickCallback: function(c) {
                $('#ColorSelectionTarget1').css('background-color',c);
        }
});


Features:

- customizable colors (with a default set of 25 or so)

- [nearly] fully configurable layout. You can specify the type of
element for each "color blotch", the css class for each element, and
you can specify a callback to be called after each blotch is inserted
into the target container so that you can change its appearance,
insert spacing elements, etc.

- Pretty small, code-wise (but all jQuery code is, i think). The
download is 3k, but half of that is documentation.

- Its visual layout can be made very compact, as demonstrated in the
app i developed the picker for (the above link has a link to the app).

Reply via email to