blob: 87d173e0961118a43f8ec3e92d49800e56f4c397 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Dojox ColorPicker Test</title>
<style type="text/css">
@import "../../../dojo/resources/dojo.css";
@import "../../../dijit/themes/tundra/tundra.css";
@import "../../../dijit/themes/dijit.css";
@import "../../../dijit/tests/css/dijitTests.css";
@import "../ColorPicker/ColorPicker.css";
</style>
<script type="text/javascript" src="../../../dojo/dojo.js" djConfig="isDebug:true, parseOnLoad: true"></script>
<script type="text/javascript" src="../ColorPicker.js"></script>
<script type="text/javascript">
// dojo.require("dojox.widget.ColorPicker");
dojo.require("dojo.parser"); // scan page for widgets and instantiate them
</script>
</head>
<body class="tundra">
<h1 class="testTitle">Dojox ColorPicker test</h1>
<h3>defaults:</h3>
<div id="picker" dojoType="dojox.widget.ColorPicker"
onChange="console.log('new val:',this.value)"
></div>
<h3>no animation, no hsv, no rgb, no webSafe info:</h3>
<div id="pickerToo" dojoType="dojox.widget.ColorPicker"
animatePoint="false"
showHsv="false"
showRgb="false"
webSafe="false"
onChange="console.log('new val:',this.value)"
></div>
</body>
</html>
|