我有一个可拖动的项目,但是当我拖动它时它位于其他 html 元素下,即使我设置.item_dragable {
cursor: move;
z-index: 2147483646;
}
了事件可拖动:
jQuerydragable.draggable({
cancel: "a.ui-icon", // clicking an icon won't initiate dragging
revert: "invalid", // when not dropped, the item will revert back to its initial position
containment: "document",
helper: "clone",
cursor: "move",
zIndex: 2147483647
});
怎么了?我使用最新的 jQuery 和 jQuery ui
谢谢