aboutsummaryrefslogtreecommitdiffstats
path: root/demos/sortable/display-grid.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/sortable/display-grid.html')
-rw-r--r--demos/sortable/display-grid.html28
1 files changed, 14 insertions, 14 deletions
diff --git a/demos/sortable/display-grid.html b/demos/sortable/display-grid.html
index e90a38c25..3049b54a2 100644
--- a/demos/sortable/display-grid.html
+++ b/demos/sortable/display-grid.html
@@ -1,23 +1,23 @@
<!DOCTYPE html>
<html lang="en">
<head>
- <meta charset="UTF-8" />
+ <meta charset="utf-8">
<title>jQuery UI Sortable - Display as grid</title>
- <link type="text/css" href="../../themes/base/jquery.ui.all.css" rel="stylesheet" />
- <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.sortable.js"></script>
- <link type="text/css" href="../demos.css" rel="stylesheet" />
- <style type="text/css">
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
+ <script src="../../jquery-1.4.2.js"></script>
+ <script src="../../ui/jquery.ui.core.js"></script>
+ <script src="../../ui/jquery.ui.widget.js"></script>
+ <script src="../../ui/jquery.ui.mouse.js"></script>
+ <script src="../../ui/jquery.ui.sortable.js"></script>
+ <link rel="stylesheet" href="../demos.css">
+ <style>
#sortable { list-style-type: none; margin: 0; padding: 0; }
#sortable li { margin: 3px 3px 3px 0; padding: 1px; float: left; width: 100px; height: 90px; font-size: 4em; text-align: center; }
</style>
- <script type="text/javascript">
+ <script>
$(function() {
- $("#sortable").sortable();
- $("#sortable").disableSelection();
+ $( "#sortable" ).sortable();
+ $( "#sortable" ).disableSelection();
});
</script>
</head>
@@ -41,13 +41,13 @@
</div><!-- End demo -->
-<div class="demo-description">
+
+<div class="demo-description">
<p>
To arrange sortable items as a grid, give them identical dimensions and
float them using CSS.
</p>
-
</div><!-- End demo-description -->
</body>