Jquery UI - 可排序和可排序可拖动恢复速度
我的恢复速度有问题。
这是一个工作示例 http://www.jsfiddle.net/V9Euk/94/ <-- 更新
更改可排序列表中的某些内容...速度很快(恢复 100)。 但是当你把“四”放到可排序列表中时,速度就慢了。
但为什么? oO
亲切的问候 彼得
i have a problem with the revert speed.
Here is a working example
http://www.jsfiddle.net/V9Euk/94/ <-- updated
Change something in the sortable list ... the speed is fast (revert 100).
But when you drop the "four" into the sortable list, the speed is slow.
But why? oO
kind reagards
Peter
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
代码没有任何问题......只是它是无效的。您有一个错误的关闭标签,并且代码中的其他奇怪之处一旦清理就解决了问题。我认为。除非你问的不是这个。
HTML:
CSS:
jQuery:
编辑:抱歉,我读错了问题。代码有点混乱,我错过了问题所在。该解决方案有点混乱,但我认为它会起作用。
基本上,它会在删除
.gt
后重新设置k1
div 上的恢复选项。There's nothing wrong with the code... except that it was invalid. You had a incorrectly closed tag, and other oddities inside the code that once cleaned up resolved the problem. I think. Unless it isn't what you was asking about.
HTML:
CSS:
jQuery:
Edit: Sorry, I misread the question. The code was slightly confusing, and I missed the problem. The solution is a little bit of a kludge, but I think it will work.
Basically it re-set the revert option on the
k1
div after.gt
is dropped.现在您可以通过以下方式实现此目的:
Now you can achieve this with :