And as it suggests it changes the background color of the body tag.
And here's what sets it to the plugin.
$("#BackgroundColor").colorPicker({
wall: "body", // Selector that the color should be changed
area: "background-color"
});
And that all works fine. If there's only one link on the page.
As soon as I put more then one link on the page, when I click one of the links (for the first time) it works fine, and then if I click the other link (for the first time) it's fine. But if I click the first link again and choose a color it sets the color to the second links parameters.
Please help, If I'm explaining this in a bad way let me know.
And here's the plugin code.
$.fn.colorPicker = function(options,Pickers) {
if(!Pickers || Pickers.constructor != Array) {
Pickers = new Array();
}
$(this).each(function(i) {
var id = (this.id) ? this.id : Pickers.length;
Pickers[id] = new jQColorPicker(this,options || {});