aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2010-03-12 13:35:19 +0000
committerRichard Worth <rdworth@gmail.com>2010-03-12 13:35:19 +0000
commit758548faab6157dc9520b7eebeeeeb31c4763be4 (patch)
tree2aac144292e5fa6bbd8d04fcb2c26dfcf876710a /tests
parent8b502d8563e9c3eacb782559a78b620d2a5ab82c (diff)
downloadjquery-ui-758548faab6157dc9520b7eebeeeeb31c4763be4.tar.gz
jquery-ui-758548faab6157dc9520b7eebeeeeb31c4763be4.zip
dialog: added visual test for position right top
Diffstat (limited to 'tests')
-rw-r--r--tests/visual/dialog/dialog_option_position_right_top.html33
1 files changed, 33 insertions, 0 deletions
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
index 000000000..d30e19011
--- /dev/null
+++ b/tests/visual/dialog/dialog_option_position_right_top.html
@@ -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>