mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Partial visual test for #5355
This commit is contained in:
parent
e02b6a58d6
commit
b69ba4d9b4
52
tests/visual/sortable/sortable_ticket_5355.html
Normal file
52
tests/visual/sortable/sortable_ticket_5355.html
Normal file
@ -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>
|
Loading…
Reference in New Issue
Block a user