I am trying to use jQuery UI's Draggable & Sortable to make an object able to be freely moved within an element, without having to remain next to another obje开发者_开发百科ct.
How can I achieve this?
If I got the question you were trying to ask properly. This is generally achieved from just using the draggable option only.
See this demo here.
精彩评论