我的可排序 div 无法移动到单独的可排序,这是为什么?
我遇到的问题是我过去遇到的两个问题的两种解决方案的结果,可以在我的页面上查看。这是我到目前为止的http://jsfiddle.net/dRCLn/3/但问题是我无法将模块从 content div 拖动到 moduledockcontent div。此外,如果能够使其工作,我还添加了需要隐藏内容的代码,但不需要隐藏进入扩展坞的模块的标题。然后,在移回主要内容时,需要再次使内容可见。一旦您看到我当前的代码,所有这些术语都会有意义。
The problem I am having is the culmination of two solutions to two problems I had in the past, which can be viewed on my page. Here is what I have so far for this http://jsfiddle.net/dRCLn/3/ the problem however has been that I cannot drag the modules from the content div to the moduledockcontent div. In addition if one were able to get this to work I have also added code which needs to hide the content but not the header of the module which enters the dock. The content then needs to be made visible again upon moving back into the main content. All this terminology will make sense once you see my current code.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为了能够将元素从一个元素拖动到另一个元素的子元素,您必须指定
connectWith
设置:请参阅此fiddle:http://jsfiddle.net/dRCLn/4/To be able to drag elements from one element to childs of another element, you have to specify the
connectWith
setting: See this fiddle: http://jsfiddle.net/dRCLn/4/