jQuery UI draggable & position relative, change to absolute on resize
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a problem with jQuery UI. When i set elements resizable, draggable & droppable, like this $("#ml1,#ml2,#ml3,#ml4,#ml5").resizable({ grid: [ 20, 10 ] }).droppable().draggable(); ,and that i resize one, his position pass to absolute... Why ? When i just set the object resizable & droppable, it's ok, the position style didn't change.. Here is a JSFiddle of the problem: http://jsfiddle.net/NLHYF/ I want that the objects that i resize keep their relative position. Thank you 文章来源: jQuery UI draggable & position relative, change to absolute