diff --git a/index.html b/index.html index 0e48df9..9426e22 100644 --- a/index.html +++ b/index.html @@ -21,6 +21,7 @@ On all inputs with calssName 'color':
$('input.color').colorPicker();
+ (see index.js for more details...)

@@ -186,6 +187,15 @@ window.myColorPicker = $('input.color').colorPicker({ opacity: false }; + // the default but smaller + plugin.small = { + customBG: '#222', + margin: '4px -2px', + cssAddon: // could also be in a css file instead + '.cp-xy-slider{width:100px; height:100px;}' + + '.cp-z-slider{height:100px;}' + }; + pluginSelect.value = type;