Create a color picker : ColorPicker « Dojo toolkit « JavaScript Tutorial





<html>
  <head>
    <link rel="StyleSheet" type="text/css"
      href="js/dojo/dijit/themes/tundra/tundra.css">
    <script type="text/javascript">
      var djConfig = {
        baseScriptUri : "js/dojo/",
        parseOnLoad : true
      };
    </script>
    <script type="text/javascript" src="js/dojo/dojo/dojo.js"></script>
    <script>
        dojo.require("dojox.widget.ColorPicker");
        dojo.require("dojo.parser");
    </script>
  </head>
  <body class="tundra">
     <div id="colorPicker" dojoType="dojox.widget.ColorPicker"></div>
  </body>
</html>










29.68.ColorPicker
29.68.1.Create a color picker