aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/draggable/draggable_option_iframeFix_true.html
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2009-02-07 14:27:27 +0000
committerRichard Worth <rdworth@gmail.com>2009-02-07 14:27:27 +0000
commitfb7f7fc393c2544f87395200578bee7895d49c71 (patch)
tree1e4038ba4cf099ca5ac02f4ec7ffde1eb9fc335a /tests/visual/draggable/draggable_option_iframeFix_true.html
parentb3702cf1a124a90ecd848e01cbfacf7a9e73b12b (diff)
downloadjquery-ui-fb7f7fc393c2544f87395200578bee7895d49c71.tar.gz
jquery-ui-fb7f7fc393c2544f87395200578bee7895d49c71.zip
draggable unit tests: added option iframeFix tests
Diffstat (limited to 'tests/visual/draggable/draggable_option_iframeFix_true.html')
-rw-r--r--tests/visual/draggable/draggable_option_iframeFix_true.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/visual/draggable/draggable_option_iframeFix_true.html b/tests/visual/draggable/draggable_option_iframeFix_true.html
new file mode 100644
index 000000000..f1fb8c482
--- /dev/null
+++ b/tests/visual/draggable/draggable_option_iframeFix_true.html
@@ -0,0 +1,27 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <title>Draggable Visual Test : Draggable option iframeFix 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.draggable.js"></script>
+ <script type="text/javascript">
+ $(function() {
+ $("#draggable").draggable({
+ cursorAt: { top: -10, left: -10 },
+ iframeFix: true
+ });
+ });
+ </script>
+</head>
+<body>
+<div id="draggable">
+ <p> Draggable </p>
+</div>
+<iframe id="iframe1"></iframe>
+<iframe id="iframe2"></iframe>
+<iframe id="iframe3"></iframe>
+</body>
+</html>