diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-09-10 11:33:46 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-09-10 11:33:46 -0400 |
commit | 303f20e1b3c977d75047bed1a3533a180d73fab5 (patch) | |
tree | c8cf97b57f2493313dfd92c1dfceedb29d137d67 /demos/draggable/snap-to.html | |
parent | 9e259c6e5369bf272dd14df7aea1372c5b064300 (diff) | |
download | jquery-ui-303f20e1b3c977d75047bed1a3533a180d73fab5.tar.gz jquery-ui-303f20e1b3c977d75047bed1a3533a180d73fab5.zip |
Demos: Cleanup.
Diffstat (limited to 'demos/draggable/snap-to.html')
-rw-r--r-- | demos/draggable/snap-to.html | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/demos/draggable/snap-to.html b/demos/draggable/snap-to.html index fed879f82..a399db5d6 100644 --- a/demos/draggable/snap-to.html +++ b/demos/draggable/snap-to.html @@ -1,4 +1,4 @@ -<!DOCTYPE html> +<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> @@ -27,8 +27,6 @@ </head> <body> -<div class="demo"> - <div id="snaptarget" class="ui-widget-header"> <p>I'm a snap target</p> </div> @@ -55,14 +53,9 @@ <p>I snap to a 80 x 80 grid</p> </div> -</div><!-- End demo --> - - - <div class="demo-description"> <p>Snap the draggable to the inner or outer boundaries of a DOM element. Use the <code>snap</code>, <code>snapMode</code> (inner, outer, both), and <code>snapTolerance</code> (distance in pixels the draggable must be from the element when snapping is invoked) options. </p> <p>Or snap the draggable to a grid. Set the dimensions of grid cells (height and width in pixels) with the <code>grid</code> option.</p> -</div><!-- End demo-description --> - +</div> </body> </html> |