diff options
Diffstat (limited to 'demos/functional/templates/ui.dialog.html')
-rw-r--r-- | demos/functional/templates/ui.dialog.html | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/demos/functional/templates/ui.dialog.html b/demos/functional/templates/ui.dialog.html deleted file mode 100644 index 91628119e..000000000 --- a/demos/functional/templates/ui.dialog.html +++ /dev/null @@ -1,34 +0,0 @@ -<script type="text/javascript"> - - var model = { - - renderAt: '#containerDemo', - - title: 'Dialog Demos', - - demos: [ - - { - title: 'Simple dialog', - desc: 'With few lines of code you could build a dialog. You can try more options on the fly!', - html: '<div id="dialog">jQuery UI Dialog</div>', - destroy: '$("#dialog").dialog("destroy");', - options: [ - { desc: 'Make a simple dialog', source: '$("#dialog").dialog();' }, - { desc: 'Modal dialog', source: '$("#dialog").dialog({ modal: true });' }, - { desc: 'Modal dialog with overlay', source: '$("#dialog").dialog({ modal: true, overlay: { opacity: 0.5, background: "black" } });' }, - { desc: 'With buttons', source: '$("#dialog").dialog({buttons: { "Ok": function() { alert("Ok"); }, "Cancel": function() { $(this).dialog("close"); } }});' }, - { desc: 'Close the dialog', source: '$("#dialog").dialog("close");' } - ] - } - - ] - }; - - $(function(){ - - uiRenderDemo(model); - - }); - -</script>
\ No newline at end of file |