这是我在其上应用了 JQuery UI 可排序交互的简化 div 结构(请参阅此 JS Fiddle 示例):
<div id="sortable_panels">
<div class="panel" id="panel1">
<div class="header" id="panel1_header">Panel 1 header</div>
<div id="panel1_content"></div>
</div>
<div class="panel" id="panel2">
<div class="header" id="panel2_header">Panel 2 header</div>
<div id="panel2_content"></div>
</div>
<div class="panel" id="panel3">
<div class="header" id="panel3_header">Panel 3 header</div>
<div id="panel3_content"></div>
</div>
<div class="clear"></div>
</div>
我希望只有在拖动面板标题时才能拖动面板。有没有办法做到这一点?