I am trying to make the example from jquery-color work, but it’s giving me the $.Color is not a function error. What am I doing wrong?
Relevant code bit:
$("#sat").click(function(){
$("#block").animate({
backgroundColor: $.Color({ saturation: 0 })
}, 1500 );
});
Looks like you did not reference correctly the javascript file, or not in the correct order.
Check you reference first jQuery, then the Color plugin:
Verify the path to both scripts is correct.