aboutsummaryrefslogtreecommitdiffstats
path: root/demos/functional
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2008-11-12 01:01:05 +0000
committerRichard Worth <rdworth@gmail.com>2008-11-12 01:01:05 +0000
commit79b6eaf13c1dbcc1f7d6f2b77062f8b16ae4fefb (patch)
tree3af0625909fab71f750ab30e61a59b0ddbb8a877 /demos/functional
parentfde1cfb4e414b16185680ac6c40b2bb804fb11fd (diff)
downloadjquery-ui-79b6eaf13c1dbcc1f7d6f2b77062f8b16ae4fefb.tar.gz
jquery-ui-79b6eaf13c1dbcc1f7d6f2b77062f8b16ae4fefb.zip
Moved colorpicker to experimental branch
Diffstat (limited to 'demos/functional')
-rw-r--r--demos/functional/templates/ui.colorpicker.html41
1 files changed, 0 insertions, 41 deletions
diff --git a/demos/functional/templates/ui.colorpicker.html b/demos/functional/templates/ui.colorpicker.html
deleted file mode 100644
index 844b6266f..000000000
--- a/demos/functional/templates/ui.colorpicker.html
+++ /dev/null
@@ -1,41 +0,0 @@
-<script type="text/javascript">
-
- var model = {
-
- renderAt: '#containerDemo',
-
- title: 'Colorpicker Demos',
-
- demos: [
-
- {
- title: 'Inline colorpicker',
- desc: 'With few lines of code you could build a colorpicker. You can try more options on the fly!',
- html: '<div id="colorpicker" />',
- destroy: '$("#colorpicker").colorpicker("destroy");',
- options: [
- { desc: 'Make a colorpicker', source: '$("#colorpicker").colorpicker({flat:true});' }
- ]
- },
-
- {
- title: 'Triggered colorpicker',
- desc: 'With few lines of code you could build a colorpicker. You can try more options on the fly!',
- html: '<input id="colorpicker2" /><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>',
- destroy: '$("#colorpicker2").colorpicker("destroy");',
- options: [
- { desc: 'Make a colorpicker', source: '$("#colorpicker2").colorpicker( {submit: function(e,ui) { $("#colorpicker2").val(ui.hex);} });' },
- { desc: 'Fade in/out a colorpicker', source: '$("#colorpicker2").colorpicker( {show: function (e,ui) { $(this).data("colorpicker").picker.fadeIn(500);return false; }, hide: function (e,ui) { $(this).data("colorpicker").picker.fadeOut(500);return false; }, change: function(e,ui) { $("#colorpicker2").val(ui.hex); } });' }
- ]
- }
-
- ]
- };
-
- $(function(){
-
- uiRenderDemo(model);
-
- });
-
-</script> \ No newline at end of file