Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>choosing the correct selector by the input's ids. Here is a simple example: ` jQuery miniColors v0.1</p> <pre><code> &lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="jquery.miniColors.js"&gt;&lt;/script&gt; &lt;link type="text/css" rel="stylesheet" href="jquery.miniColors.css" /&gt; &lt;script type="text/javascript"&gt; $(document).ready( function() { // // Enabling miniColors // //$(".color-picker").miniColors('methodName', [value]); $("#color1").miniColors({ change: function(hex, rgb) { $("#color1Value").prepend('HEX: ' + hex + ' (RGB: ' + rgb.r + ', ' + rgb.g + ', ' + rgb.b + ')&lt;br /&gt;'); } }); $("#color2").miniColors({ change: function(hex, rgb) { $("#color2Value").prepend('HEX: ' + hex + ' (RGB: ' + rgb.r + ', ' + rgb.g + ', ' + rgb.b + ')&lt;br /&gt;'); } }); $("#color3").miniColors({ change: function(hex, rgb) { $("#color3Value").prepend('HEX: ' + hex + ' (RGB: ' + rgb.r + ', ' + rgb.g + ', ' + rgb.b + ')&lt;br /&gt;'); } }); $("#color4").miniColors({ change: function(hex, rgb) { $("#color4Value").prepend('HEX: ' + hex + ' (RGB: ' + rgb.r + ', ' + rgb.g + ', ' + rgb.b + ')&lt;br /&gt;'); } }); $("#color5").miniColors({ change: function(hex, rgb) { $("#color5Value").prepend('HEX: ' + hex + ' (RGB: ' + rgb.r + ', ' + rgb.g + ', ' + rgb.b + ')&lt;br /&gt;'); } }); }); &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;h1&gt;jQuery miniColors v0.1&lt;/h1&gt; &lt;p&gt; color1 &lt;input type="hidden" id="color1" class="colors" /&gt;&lt;/p&gt; &lt;p&gt; color2 &lt;input type="hidden" id="color2" class="colors" /&gt;&lt;/p&gt; &lt;p&gt; color3 &lt;input type="hidden" id="color3" class="colors" /&gt;&lt;/p&gt; &lt;p&gt; color4 &lt;input type="hidden" id="color4" class="colors" /&gt;&lt;/p&gt; &lt;p&gt; color5 &lt;input type="hidden" id="color5" class="colors" /&gt;&lt;/p&gt; &lt;p&gt; Color1 value &lt;br /&gt; &lt;div&gt;&lt;label id="color1Value"&gt;&lt;/label&gt;&lt;/div&gt; &lt;/p&gt; &lt;p&gt; Color2 value &lt;br /&gt; &lt;div&gt;&lt;label id="color2Value"&gt;&lt;/label&gt;&lt;/div&gt; &lt;/p&gt; &lt;p&gt; Color3 value [content] &lt;br /&gt; &lt;div&gt;&lt;label id="color3Value"&gt;&lt;/label&gt;&lt;/div&gt; &lt;/p&gt; &lt;p&gt; Color4 value &lt;br /&gt; &lt;div&gt;&lt;label id="color4Value"&gt;&lt;/label&gt;&lt;/div&gt; &lt;/p&gt; &lt;p&gt; Color5 value &lt;br /&gt; &lt;div&gt;&lt;label id="color5Value"&gt;&lt;/label&gt;&lt;/div&gt; &lt;/p&gt; &lt;/body&gt; </code></pre> <p>`</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload