diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2010-03-16 15:44:02 +0000 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2010-03-16 15:44:02 +0000 |
commit | b69ba4d9b47cb4f3e58d1748aee112058f55c1d5 (patch) | |
tree | 39b101de742aa7624bc24ac95d713b86c64f6967 /tests/visual/sortable | |
parent | e02b6a58d608bf033b19c868dfa5b310229fc7c1 (diff) | |
download | jquery-ui-b69ba4d9b47cb4f3e58d1748aee112058f55c1d5.tar.gz jquery-ui-b69ba4d9b47cb4f3e58d1748aee112058f55c1d5.zip |
Partial visual test for #5355
Diffstat (limited to 'tests/visual/sortable')
-rw-r--r-- | tests/visual/sortable/sortable_ticket_5355.html | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/tests/visual/sortable/sortable_ticket_5355.html b/tests/visual/sortable/sortable_ticket_5355.html new file mode 100644 index 000000000..c23aafb6d --- /dev/null +++ b/tests/visual/sortable/sortable_ticket_5355.html @@ -0,0 +1,52 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8" /> + <title>Visual testcase for #5355</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="../../../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.mouse.js"></script> + <script type="text/javascript" src="../../../ui/jquery.ui.draggable.js"></script> + <script type="text/javascript" src="../../../ui/jquery.ui.droppable.js"></script> + <script type="text/javascript" src="../../../ui/jquery.ui.sortable.js"></script> + <style> + body { + height: 2000px; + padding-top: 1000px; + } + </style> + <script>jQuery(document).ready(function(){ + $(".AdminSidebar").sortable({ + connectWith: '.AdminSidebar', + handle: '.moveWidget' + }); + }); +</script> +</head> +<body> + <div class="AdminSidebar" style="float:left"> + <div class="AdminWidget"> + <span class="moveWidget">handle</span> + <div class="WidgetContent">....</div> + </div> + <div class="AdminWidget"> + <span class="moveWidget">handle</span> + <div class="WidgetContent">....</div> + </div> + </div> + <div class="AdminSidebar" style="float:left;"> + <div class="AdminWidget"> + <span class="moveWidget">handle</span> + <div class="WidgetContent">....</div> + </div> + <div class="AdminWidget"> + <span class="moveWidget">handle</span> + <div class="WidgetContent">....</div> + </div>. + </div> + +</body> +</html> |