Forums

How to make color/colour picker/grabber

idiotiste 12 May, 2009
Hello.
I'm a newbie in ChronoForms. This is the best form software for Joomla.

I've made a couple of forms but now i have to make something strange.

I have to make the colour/color picker/grabber to look like this:
http://www.colorpicker.com/
but with already pre-defined colors.

Please help me if you can or give me some direction.
JS maybe?

Best regards.
GreyHead 13 May, 2009
Hi idiotiste,

Google "Mootools date picker" and you will find several. You need one that works with MooTools 1.11 (the release that comes installed with Joomla), not 1.2. mooRainbow looks nice.

Bob
idiotiste 13 May, 2009
Hi. Thanks for the quick answer.
This may be will work for me, but i don't know how to make predefined colours. I have to have only 7 exact colours.
GreyHead 13 May, 2009
Hi idiotiste,

Then you could use seven radio buttons with color swatches beside them (just create a span and set the background color with css).

Bob
This topic is locked and no more replies can be posted.