mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-01-30 04:48:01 -05:00
demos: draggable snap demo was too big, wrong wording
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
<script type="text/javascript" src="../../ui/ui.core.js"></script>
|
||||
<script type="text/javascript" src="../../ui/ui.draggable.js"></script>
|
||||
<style type="text/css">
|
||||
.ui-widget-content { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 5px; }
|
||||
.ui-widget-header { height: 200px; }
|
||||
.ui-widget-content { width: 75px; height: 80px; padding: 0.5em; float: left; margin: 5px; }
|
||||
.ui-widget-header { height: 130px; }
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
@@ -34,19 +34,19 @@
|
||||
</div>
|
||||
|
||||
<div id="draggable2" class="ui-widget-content">
|
||||
<p>I only snap to the orange box</p>
|
||||
<p>I only snap to the big box</p>
|
||||
</div>
|
||||
|
||||
<div id="draggable3" class="ui-widget-content">
|
||||
<p>I only snap to the outer edges of the orange box</p>
|
||||
<p>I only snap to the outer edges of the bix box</p>
|
||||
</div>
|
||||
|
||||
<div id="draggable4" class="ui-widget-content">
|
||||
<p>I only snap to the inner edges of the orange box</p>
|
||||
<p>I only snap to the inner edges of the big box</p>
|
||||
</div>
|
||||
|
||||
<div id="draggable5" class="ui-widget-content">
|
||||
<p>I also snap to the orange box but I'm very sticky because I have a high snapTolerance</p>
|
||||
<p>I also snap to the big box but I'm very sticky because I have a high tolerance</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user