资 源 简 介
Simple Gradient Color Picker for JQuery
The gradient-color-jquery-picker is a plugin for selecting from a predefined set of colors.
Basic Usage
// Using default colors$("#color1").gradientColorPicker();
Extra Paramters
// Use 16 blocks for each gradient, allow users to select individual colors,// fade the gradient to the left, and use the colors provided$(".colorme").gradientColorPicker( { showHexBox:false, bindOn:"click", cssPrefix: "", gradient: { count: 16, useSingleColors:true, fadeTo:"left", colors:["616536", "A4E666", "31B96E", "1B1112"] } });
Demos
Demo 1
http://dotnet.mindovercode.com/gradientcolorpicker/v1/demos/demo1/index.html
Demo 2
http://dotnet.mindovercode.com/gradientcolorpicker/v1/demos/demo2/index.html