A Native Color Picker Polyfill for the HTML5's "color" input type on Internet Explorer
JavaScript
Switch branches/tags
Nothing to show

README.md

nativeColorPicker

A Native Color Picker Polyfill for the HTML5's "color" input type on Internet Explorer

Browser support

IE6+

Demo

See demo.html - online

Usage

(just showing the minimum code needed)

  <!-- include the plugin -->
  <script src="nativeColorPicker.js"></script>

  <input id="color" type="color" />

  <script>
    // init the plugin using the input id
    window.nativeColorPicker.init('color');
  </script>

How?

See ChooseColorDlg method in MSDN

Screenshots

Internet Explorer

nativeColorPicker Internet Explorer

Google Chrome (just using HTML5 <input type="color"> no js here)

nativeColorPicker Google Chrome

License

See LICENSE.txt