Created
March 6, 2012 16:15
-
-
Save l4u/1987139 to your computer and use it in GitHub Desktop.
failing example for jquery-ui-punch (https://github.com/furf/jquery-ui-touch-punch/pull/29)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>jQuery UI Draggable + Sortable</title> | |
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> | |
<script src="http://code.jquery.com/jquery.min.js"></script> | |
<script src="http://code.jquery.com/ui/1.8.17/jquery-ui.min.js"></script> | |
<script src="jquery.ui.touch-punch.js"></script> | |
<style> | |
.demo ul { list-style-type: none; margin: 0; padding: 0; margin-bottom: 10px; } | |
.demo li { margin: 5px; padding: 5px; width: 150px; } | |
</style> | |
<script> | |
$(function() { | |
$( "#sortable" ).sortable(); | |
}); | |
</script> | |
</head> | |
<body> | |
<div class="demo"> | |
<ul id="sortable"> | |
<li class="ui-state-default">Item 1</li> | |
<li class="ui-state-default">Item 2</li> | |
<li class="ui-state-default">Item 3</li> | |
<li class="ui-state-default">Item 4</li> | |
<li class="ui-state-default">Item 5</li> | |
</ul> | |
</div><!-- End demo --> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment