aboutsummaryrefslogtreecommitdiffstats
path: root/demos/sortable/floating.html
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2008-12-31 06:29:31 +0000
committerRichard Worth <rdworth@gmail.com>2008-12-31 06:29:31 +0000
commit016eb2487a0c781d35a75131134db97453f8ace7 (patch)
tree58bf4c827f7f946bd8730462e64cd10dae6fce2f /demos/sortable/floating.html
parentac1866a7b09c6356d2ab25215f6de2bf0ee12803 (diff)
downloadjquery-ui-016eb2487a0c781d35a75131134db97453f8ace7.tar.gz
jquery-ui-016eb2487a0c781d35a75131134db97453f8ace7.zip
demos: moved the demos.css link down so it can override default theme styles. other minor updates.
Diffstat (limited to 'demos/sortable/floating.html')
-rw-r--r--demos/sortable/floating.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/demos/sortable/floating.html b/demos/sortable/floating.html
index 6f940929b..aae9dbdf9 100644
--- a/demos/sortable/floating.html
+++ b/demos/sortable/floating.html
@@ -2,24 +2,24 @@
<html lang="en">
<head>
<title>jQuery UI Sortable - Floating</title>
- <link type="text/css" href="../demos.css" rel="stylesheet" />
<link type="text/css" href="../../themes/default/ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="../../jquery-1.2.6.js"></script>
<script type="text/javascript" src="../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../ui/ui.sortable.js"></script>
+ <link type="text/css" href="../demos.css" rel="stylesheet" />
<style type="text/css">
- ul { list-style-type: none; margin: 0; padding: 0; }
- li { margin: 3px; padding: 2px; float: left; width: 100px; height: 100px; }
+ #sortable { list-style-type: none; margin: 0; padding: 0; }
+ #sortable li { margin: 3px; padding: 2px; float: left; width: 100px; height: 100px; }
</style>
<script type="text/javascript">
$(function() {
- $("ul").sortable();
+ $("#sortable").sortable();
});
</script>
</head>
<body>
-<ul>
+<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>