HTML5拖放教程 - 可排序列表 [英] Tutorial for HTML5 drag&drop - sortable list

查看:98
本文介绍了HTML5拖放教程 - 可排序列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道一个非常好的HTML5拖放教程吗?我正在制作一个待办事项列表,我希望能够使用此API对其进行重新排序/排序。我一直在谷歌搜索它像一个疯子,现在我开始放弃......欢迎任何提示!
谢谢!

Do anyone know a really good tutorial for HTML5 drag&drop? Im making a toDo-list and I want to be able to reorder/sort it with this API. I've been googling for it like a mad man and now im start giving up... ANY tips is welcomed! Thanks!

ps我真的想使用html5拖放API,而不是jQuery-sortable()

p.s I really want to use html5 drag&drop API, not jQuery-sortable()

推荐答案

这是一个简单易懂的完整教程。

Here is a thorough tutorial with easy-to-follow steps.

http://www.html5tuts.co.uk/tutorials/dnd/

这是完成示例的链接,只需根据您的需要进行调整。

This is the link to the finished example, just adapt it to fit your needs.

http://jsbin.com/ezuke/2051/

这篇关于HTML5拖放教程 - 可排序列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆