Discussion Thread
ColorPop
Message Thread

The pop-up color picker control for webpages. Let your website visitors pick a color in a snap.
Posted in the ColorPop Forum.
COLOR POP FOR WEBSITES
We are interested in using the mini color pop. But when the color is selected, we'd like to automatically fire an event. So once you click Set Color, we want a color of a box elsewhere on our screen to change to that color. We do this now with a JS color picker. Can we do this with yours or do we have to use a SHOW ME button like fonts.com does in order to see the changes?
Also... is there any user guide or documentation other than what is online? If you can post your reply and email me, that would be great.
thank you.
Eric
COLOR POP FOR WEBSITES
You can quite easily fire an event when the color is selected. All you need to do is edit the colorpop.js file which comes in the downlaod file.
You can add extra lines to the getColour() function to do whatever you want.
Let me know if you need help.
COLOR POP FOR WEBSITES
Hope I explain this correctly. I too need to change colors on the webpage based on what color I choose from colorPop.
I have many functions that change various text and link colors, here is one of them...
function chg_blinkc (color) {
document.getElementById('link01a').style.color = color;
document.getElementById('link01b').style.color = color;
}
(color needs to have the # in it too)
Please help me, this is driving me nutz, I have tried where I invoke colorPop by using onChange and none of that works.
Thanks,
Doug
COLOR POP FOR WEBSITES
Find this line in the colorpop.js file:
function setColour(hex) {
Then add in your code after it, something like this:
document.getElementById('link01a').style.color = '#'+hex;
document.getElementById('link01b').style.color = '#'+hex;