Skip to content
Permalink
Browse files

sortable visual tests: option revert

  • Loading branch information
rdworth committed Feb 7, 2009
1 parent 01801ea commit c55162bd726fd06a53220b1cb110fce7a517c622
@@ -0,0 +1,28 @@
<!doctype html>
<html lang="en">
<head>
<title>Sortable Visual Test : Sortable option revert false</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.sortable.js"></script>
<script type="text/javascript">
$(function() {
$("#sortable").sortable({
revert: false
});
});
</script>
</head>

<body>

<div id="sortable">
<div>Sortable 1</div>
<div>Sortable 2</div>
<div>Sortable 3</div>
</div>

</body>
</html>
@@ -0,0 +1,28 @@
<!doctype html>
<html lang="en">
<head>
<title>Sortable Visual Test : Sortable option revert 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.sortable.js"></script>
<script type="text/javascript">
$(function() {
$("#sortable").sortable({
revert: true
});
});
</script>
</head>

<body>

<div id="sortable">
<div>Sortable 1</div>
<div>Sortable 2</div>
<div>Sortable 3</div>
</div>

</body>
</html>

0 comments on commit c55162b

Please sign in to comment.
You can’t perform that action at this time.