It depends on your design, but you can try using pens.
Here is an example jQuery UI documentation:
<div id="draggable" class="ui-widget-content"> <p class="ui-widget-header">drag with handle</p> </div> <div id="draggable2" class="ui-widget-content"> <p>drag from content</p> <p class="ui-widget-header">not drag with handle</p> </div> $("#draggable").draggable({handle:"p"}); $("#draggable2").draggable({cancel:"p.ui-widget-header"});
Or at least canceling an option can give you a start.
http://jsfiddle.net/Dn9DX/
Gil zumbrunnen
source share