[jQuery] Re: announcement: yet another color picker

2007-07-12 Thread Stephan Beal
On Jul 12, 9:41 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > The trouble here is the mix of setters and getters. Provide the second > argument and its a setter, leave it, and its a getter. In this case you > have to make sure that no null or undefined is passed as the second > argument, or you

[jQuery] Re: announcement: yet another color picker

2007-07-12 Thread Jörn Zaefferer
Stephan Beal wrote: On Jul 12, 12:00 am, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: * You can use jQuery to create elements, eg. $("<" + props.elementType + ">").addClass(props.elementClass).css('background-color', color) <- chaining, too i think i found a jQ bug

[jQuery] Re: announcement: yet another color picker

2007-07-11 Thread Stephan Beal
On Jul 12, 12:00 am, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > * You can use jQuery to create elements, eg. $("<" + > props.elementType + > ">").addClass(props.elementClass).css('background-color', color) > <- chaining, too i think i found a jQ bug (or "unexpected, undocum

[jQuery] Re: announcement: yet another color picker

2007-07-11 Thread Stephan Beal
On Jul 12, 12:00 am, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Well now, as there is hardly anything to nitpick (watch out!): Ah, come on... there's always room for nit-picking! :) Not you can we pick our colors, but we can pick our nits ;). > That plugin method name is too long! When i wrote

[jQuery] Re: announcement: yet another color picker

2007-07-11 Thread Klaus Hartl
Stephan Beal wrote: 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) { $('

[jQuery] Re: announcement: yet another color picker

2007-07-11 Thread Jörn Zaefferer
Jörn Zaefferer wrote: * jQuery itself and therefore most jQuery plugins perform any exception handling at all - in other words, all errors are handled as programming errors, letting the calling code handle them; with Firebug its pretty use to find where exception are thrown, wi

[jQuery] Re: announcement: yet another color picker

2007-07-11 Thread Jörn Zaefferer
Stephan Beal wrote: 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) { $('