]> source.dussan.org Git - jquery-ui.git/commitdiff
dialog visual tests - added option modal true and false
authorRichard Worth <rdworth@gmail.com>
Sat, 31 Jan 2009 04:41:20 +0000 (04:41 +0000)
committerRichard Worth <rdworth@gmail.com>
Sat, 31 Jan 2009 04:41:20 +0000 (04:41 +0000)
tests/visual/dialog/dialog_option_modal_false.html [new file with mode: 0644]
tests/visual/dialog/dialog_option_modal_true.html [new file with mode: 0644]

diff --git a/tests/visual/dialog/dialog_option_modal_false.html b/tests/visual/dialog/dialog_option_modal_false.html
new file mode 100644 (file)
index 0000000..647d928
--- /dev/null
@@ -0,0 +1,27 @@
+<!doctype html>\r
+<html lang="en">\r
+<head>\r
+       <title>Dialog Visual Test : Dialog option modal false</title>\r
+       <link rel="stylesheet" href="../visual.css" type="text/css" />\r
+       <link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css">\r
+       <script type="text/javascript" src="../../../jquery-1.3.1.js"></script>\r
+       <script type="text/javascript" src="../../../ui/ui.core.js"></script>\r
+       <script type="text/javascript" src="../../../ui/ui.dialog.js"></script>\r
+       <script type="text/javascript" src="../../../ui/ui.draggable.js"></script>\r
+       <script type="text/javascript" src="../../../ui/ui.resizable.js"></script>\r
+       <script type="text/javascript">\r
+       $(function() {\r
+               $("#dialog").dialog({\r
+                       modal: false\r
+               });\r
+       });\r
+       </script>\r
+</head>\r
+<body>\r
+\r
+<div id="dialog" title="Dialog Title">\r
+       <p> Dialog Content </p>\r
+</div>\r
+\r
+</body>\r
+</html>\r
diff --git a/tests/visual/dialog/dialog_option_modal_true.html b/tests/visual/dialog/dialog_option_modal_true.html
new file mode 100644 (file)
index 0000000..75a1a0d
--- /dev/null
@@ -0,0 +1,27 @@
+<!doctype html>\r
+<html lang="en">\r
+<head>\r
+       <title>Dialog Visual Test : Dialog option modal true</title>\r
+       <link rel="stylesheet" href="../visual.css" type="text/css" />\r
+       <link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css">\r
+       <script type="text/javascript" src="../../../jquery-1.3.1.js"></script>\r
+       <script type="text/javascript" src="../../../ui/ui.core.js"></script>\r
+       <script type="text/javascript" src="../../../ui/ui.dialog.js"></script>\r
+       <script type="text/javascript" src="../../../ui/ui.draggable.js"></script>\r
+       <script type="text/javascript" src="../../../ui/ui.resizable.js"></script>\r
+       <script type="text/javascript">\r
+       $(function() {\r
+               $("#dialog").dialog({\r
+                       modal: true\r
+               });\r
+       });\r
+       </script>\r
+</head>\r
+<body>\r
+\r
+<div id="dialog" title="Dialog Title">\r
+       <p> Dialog Content </p>\r
+</div>\r
+\r
+</body>\r
+</html>\r