Partial visual test for #5355

This commit is contained in:
Jörn Zaefferer 2010-03-16 15:44:02 +00:00
parent e02b6a58d6
commit b69ba4d9b4

View 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>