【发布时间】:2011-11-21 13:07:28
【问题描述】:
我在 jquery sortable 中工作,一切正常。但是空的 div 不会接受可拖动的内容。
这是我的 jquery,
$( ".dropfalse" ).sortable({
connectWith: ".dropfalse",
revert: true,
tolerance: 'pointer',
placeholder: "ui-state-highlight",
cursor: 'pointer',
dropOnEmpty: true,
forcePlaceholderSize: true
});
$('#sortable').disableSelection();
任何建议。
【问题讨论】:
-
什么?解释更多...添加一些代码,清楚!
-
nanba...完善你的问题
-
解决方案在这里:stackoverflow.com/questions/6832687/… 摘要:向容器添加填充
标签: javascript jquery jquery-ui-sortable