diff options
author | Richard Worth <rdworth@gmail.com> | 2008-12-31 06:29:31 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2008-12-31 06:29:31 +0000 |
commit | 016eb2487a0c781d35a75131134db97453f8ace7 (patch) | |
tree | 58bf4c827f7f946bd8730462e64cd10dae6fce2f /demos/draggable/snap.html | |
parent | ac1866a7b09c6356d2ab25215f6de2bf0ee12803 (diff) | |
download | jquery-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/draggable/snap.html')
-rw-r--r-- | demos/draggable/snap.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/draggable/snap.html b/demos/draggable/snap.html index f232ff397..0394196a5 100644 --- a/demos/draggable/snap.html +++ b/demos/draggable/snap.html @@ -2,14 +2,14 @@ <html lang="en"> <head> <title>jQuery UI Draggable - Snap</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.draggable.js"></script> + <link type="text/css" href="../demos.css" rel="stylesheet" /> <style type="text/css"> - .ui-widget-content { width: 75px; height: 80px; padding: 0.5em; float: left; margin: 5px; } - .ui-widget-header { height: 130px; } + #draggable, #draggable2, #draggable3, #draggable4, #draggable5 { width: 75px; height: 80px; padding: 0.5em; float: left; margin: 5px; } + #snaptarget { height: 130px; } </style> <script type="text/javascript"> $(function() { @@ -23,7 +23,7 @@ </head> <body> -<div class="ui-widget-header"> +<div id="snaptarget" class="ui-widget-header"> <p>I'm a snap target</p> </div> |