blob: 3f43a69eff4f55d5630b108c97b1c310a2e984b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Sortable Visual Test : Sortable ticket #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.4.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>
#main {
height: 2000px;
padding-top: 1000px;
}
</style>
<script>
$( function() {
$( ".AdminSidebar" ).sortable( {
connectWith: '.AdminSidebar',
handle: '.moveWidget'
} );
} );
</script>
</head>
<body>
<h1 class="ui-widget-header"><a href="http://dev.jqueryui.com/ticket/5355">#5355 - cssPosition in sortable</a></h1>
<div id="main">
<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>
</div>
</body>
</html>
|