<p>Only if you drag me by 20 pixels, the dragging will start</p>
</div>
<divid="draggable2"class="ui-widget-content">
<p>Regardless of the distance, you have to drag and wait for 1000ms before dragging starts</p>
</div>
</div><!-- End demo -->
<divclass="demo-description">
<p>
Delay the start of dragging for a number of milliseconds with the <strong>delay</strong> option; prevent dragging until the cursor is held down and dragged a specifed number of pixels with the <strong>distance</strong> option.