Submit your widget

Simple jQuery Color Picker

Created 14 years ago   Views 8773   downloads 2231    Author syronex
Simple jQuery Color Picker
View DemoDownload
125
Share |

Usage

Minimal

$('#test').colorPicker({   
  click: function(color){$('#output').html(c);} 
});

Options

$('#test').colorPicker({   
  defaultColor: 0, // index of the default color (optional)
  columns: 13,     // number of columns (optional)  
  color: ['#FFFFFF', '#EEEEEE'], // list of colors (optional)
  // click event - selected color is passed as arg.
  click: function(color){$('#output').html(c);}, 
});