diff options
Diffstat (limited to 'demos/droppable/photo-manager.html')
-rw-r--r-- | demos/droppable/photo-manager.html | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/demos/droppable/photo-manager.html b/demos/droppable/photo-manager.html index 638a35caf..d71d303b4 100644 --- a/demos/droppable/photo-manager.html +++ b/demos/droppable/photo-manager.html @@ -1,4 +1,4 @@ -<!DOCTYPE html> +<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> @@ -38,7 +38,7 @@ $( "li", $gallery ).draggable({ cancel: "a.ui-icon", // clicking an icon won't initiate dragging revert: "invalid", // when not dropped, the item will revert back to its initial position - containment: $( "#demo-frame" ).length ? "#demo-frame" : "document", // stick to demo-frame if present + containment: "document", helper: "clone", cursor: "move" }); @@ -138,7 +138,7 @@ </head> <body> -<div class="demo ui-widget ui-helper-clearfix"> +<div class="ui-widget ui-helper-clearfix"> <ul id="gallery" class="gallery ui-helper-reset ui-helper-clearfix"> <li class="ui-widget-content ui-corner-tr"> @@ -171,14 +171,12 @@ <h4 class="ui-widget-header"><span class="ui-icon ui-icon-trash">Trash</span> Trash</h4> </div> -</div><!-- End demo --> - +</div> <div class="demo-description"> <p>You can delete an image either by dragging it to the Trash or by clicking the trash icon.</p> <p>You can "recycle" an image by dragging it back to the gallery or by clicking the recycle icon.</p> <p>You can view larger image by clicking the zoom icon. jQuery UI dialog widget is used for the modal window.</p> -</div><!-- End demo-description --> - +</div> </body> </html> |