diff options
author | Richard Worth <rdworth@gmail.com> | 2009-01-31 04:41:20 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2009-01-31 04:41:20 +0000 |
commit | 272391bd2f0880711c8af64c9a87c6b06ced8e03 (patch) | |
tree | 13862c2214913e4e6ce8f852e715284ebd515319 /tests | |
parent | 171c7c067106f6b35b2f35829a7d847858a36c74 (diff) | |
download | jquery-ui-272391bd2f0880711c8af64c9a87c6b06ced8e03.tar.gz jquery-ui-272391bd2f0880711c8af64c9a87c6b06ced8e03.zip |
dialog visual tests - added option modal true and false
Diffstat (limited to 'tests')
-rw-r--r-- | tests/visual/dialog/dialog_option_modal_false.html | 27 | ||||
-rw-r--r-- | tests/visual/dialog/dialog_option_modal_true.html | 27 |
2 files changed, 54 insertions, 0 deletions
diff --git a/tests/visual/dialog/dialog_option_modal_false.html b/tests/visual/dialog/dialog_option_modal_false.html new file mode 100644 index 000000000..647d9288a --- /dev/null +++ b/tests/visual/dialog/dialog_option_modal_false.html @@ -0,0 +1,27 @@ +<!doctype html>
+<html lang="en">
+<head>
+ <title>Dialog Visual Test : Dialog option modal false</title>
+ <link rel="stylesheet" href="../visual.css" type="text/css" />
+ <link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css">
+ <script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.core.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.dialog.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.draggable.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.resizable.js"></script>
+ <script type="text/javascript">
+ $(function() {
+ $("#dialog").dialog({
+ modal: false
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div id="dialog" title="Dialog Title">
+ <p> Dialog Content </p>
+</div>
+
+</body>
+</html>
diff --git a/tests/visual/dialog/dialog_option_modal_true.html b/tests/visual/dialog/dialog_option_modal_true.html new file mode 100644 index 000000000..75a1a0d6b --- /dev/null +++ b/tests/visual/dialog/dialog_option_modal_true.html @@ -0,0 +1,27 @@ +<!doctype html>
+<html lang="en">
+<head>
+ <title>Dialog Visual Test : Dialog option modal true</title>
+ <link rel="stylesheet" href="../visual.css" type="text/css" />
+ <link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css">
+ <script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.core.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.dialog.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.draggable.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.resizable.js"></script>
+ <script type="text/javascript">
+ $(function() {
+ $("#dialog").dialog({
+ modal: true
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div id="dialog" title="Dialog Title">
+ <p> Dialog Content </p>
+</div>
+
+</body>
+</html>
|