JQuery 中的 UI 拖放
我正在开发拖放界面。一切正常。我需要一些附加功能的帮助。
我有 3 列包含拖动的项目。每个项目都有一个标题编号:1,2,3,...我想更改面板标题中的数字以反映面板在列中的顺序(因此,如果将面板拖动到顶部,它会变为 1 并且下面的面板 2、3 等)。
I'm working on Drag'n'Drop interface. Everything works OK. I need help with some additional functionality.
I have 3 columns with dragged items. Every item have a title number: 1,2,3,... I want to change the number in the panel title to reflect the order of the panel in the column (so if you drag a panel to the top it becomes 1 and the panels below it 2, 3 etc.).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是你想要的吗?
演示:
http://jsfiddle.net/Xr3ne/1/
Is this what you want?
demo:
http://jsfiddle.net/Xr3ne/1/