<div id="colorSelector"><div style="background-color: #0000ff"></div></div>
$('#colorSelector').ColorPicker({ color: '#0000ff', onShow: function (colpkr) { $(colpkr).fadeIn(500); return false; }, onHide: function (colpkr) { $(colpkr).fadeOut(500); return false; }, onChange: function (hsb, hex, rgb) { $('#colorSelector div').css('backgroundColor', '#' + hex); } });
Download zip file from here:
https://docs.google.com/file/d/0B5nZNPW48dpFaGF0OENKakkzX1k/edit?usp=sharing
https://www.box.com/s/882opl3kwb9m5ne0olhp
http://www.eyecon.ro/colorpicker/
No comments:
Post a Comment