]> source.dussan.org Git - jquery-ui.git/commitdiff
dialog: added visual test for position right top
authorRichard Worth <rdworth@gmail.com>
Fri, 12 Mar 2010 13:35:19 +0000 (13:35 +0000)
committerRichard Worth <rdworth@gmail.com>
Fri, 12 Mar 2010 13:35:19 +0000 (13:35 +0000)
tests/visual/dialog/dialog_option_position_right_top.html [new file with mode: 0644]

diff --git a/tests/visual/dialog/dialog_option_position_right_top.html b/tests/visual/dialog/dialog_option_position_right_top.html
new file mode 100644 (file)
index 0000000..d30e190
--- /dev/null
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+       <meta charset="UTF-8" />
+       <title>Dialog Visual Test : Dialog option position right top</title>
+       <link rel="stylesheet" href="../visual.css" type="text/css" />
+       <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css">
+       <script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
+       <script type="text/javascript" src="../../../external/jquery.bgiframe-2.1.1.js"></script>
+       <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
+       <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
+       <script type="text/javascript" src="../../../ui/jquery.ui.draggable.js"></script>
+       <script type="text/javascript" src="../../../ui/jquery.ui.position.js"></script>
+       <script type="text/javascript" src="../../../ui/jquery.ui.resizable.js"></script>
+       <script type="text/javascript" src="../../../ui/jquery.ui.dialog.js"></script>
+       <script type="text/javascript">
+       $(function() {
+
+       $("#dialog").dialog({
+               position: ['right', 'top']
+       });
+
+       });
+       </script>
+</head>
+<body>
+
+<div id="dialog" title="Dialog Title">
+       <p> Dialog Content </p>
+</div>
+
+</body>
+</html>