Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试了jquery ui的可拖动功能: $("div.kind_div").draggable({ cursor: 'crosshair', containment: 'document', appendTo: 'body' });
我可以拖动 kind_div 但它仍保留在外部 div 中
我想把它拖到我页面的所有正文中
我能怎么做?
谢谢
您是否尝试将遏制设置为 window ?
您需要将溢出更改为无或隐藏以使其工作..而且“外部” div 不得相对定位..