You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Peter Dematté ab70f43f6f Merge pull request #59 from Joshua-Wright/master 4 years ago
..
README.md Fix section headers in jQuery implementation 4 years ago
index.html Minor updates / color2text method 5 years ago
jQueryColorPicker.min.js tiny bug-fix for new implementation 5 years ago
jqColor.css positioning bug found by @ct.js 7 years ago
jqColor.js fixed showing colorPicker the first time (quickFix) 5 years ago

README.md

jQuery implementation

Some description follows soon...

Demo

See demo at dematte.at/cpn/jQuery_implementation

Usage

    $('input.color').colorPicker();
    // description of option will follow
    $('input.color').colorPicker({
        klass: window.ColorPicker,
        input: elm,
        patch: elm,
        init: function(elm, colors){}, // initialization callback (before colorPicker gets initialized though)
        animationSpeed: 200,
        draggable: true,
        multipleInstances: false
        margin: {left: -1, top: 2},
        initStyle: 'display: none',
        mode: 'hsv-h',
        size: 1,
        renderCallback: renderCallback
        // and all other options from color and colorPicker
    });