Submit your widget

Simple jQuery Color Picker

Created 7 years ago   Views 13451   downloads 2370    Author syronex
Simple jQuery Color Picker
View DemoDownload 18.7 KB
182
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);}, 
});