diff options
author | mensonge | 2008-11-13 09:49:11 +0000 |
---|---|---|
committer | mensonge | 2008-11-13 09:49:11 +0000 |
commit | e44a7e37b6c7b5961adaffc62b9042b8d442938e (patch) | |
tree | 95b67c356e93163467db2451f2b8cce84ed5d582 /includes/js/dojox/widget/tests/test_ColorPicker.html | |
parent | a62b9742ee5e28bcec6872d88f50f25b820914f6 (diff) | |
download | scuttle-e44a7e37b6c7b5961adaffc62b9042b8d442938e.tar.gz scuttle-e44a7e37b6c7b5961adaffc62b9042b8d442938e.zip |
New feature: basic Ajax suggestion for tags and implementation of Dojo toolkit
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@151 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'includes/js/dojox/widget/tests/test_ColorPicker.html')
-rw-r--r-- | includes/js/dojox/widget/tests/test_ColorPicker.html | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/includes/js/dojox/widget/tests/test_ColorPicker.html b/includes/js/dojox/widget/tests/test_ColorPicker.html new file mode 100644 index 0000000..87d173e --- /dev/null +++ b/includes/js/dojox/widget/tests/test_ColorPicker.html @@ -0,0 +1,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> |