实现拖放上传 Google Gears 或 HTML 5 的最佳方式

发布于 2024-09-24 23:43:10 字数 256 浏览 8 评论 0原文

您建议支持拖放上传 - 即能够将文件图标从桌面拖到网页上的某个“区域”并将其上传到服务器。选项包括 Google Gears、HTML 5 或您可以推荐的任何其他选项。标准是:

  • 应该在尽可能多的浏览器上运行
  • 如果可能的话应该在未来工作(尽管这不太重要,因为如果事情发生变化我可以改变实现
  • 所需的工作越少越好(特别是每个浏览器所需的额外工作越少越好)。
  • 用户要做的工作越少(即下载插件、更新浏览器版本)越好

  • What would you recommend for supporting drag and drop upload - that is being able to drag a file icon from the desktop onto some "zone" on a web page and have it uploaded to the server. THe options are Google Gears,HTML 5 or anything else you can recommend. The criteria are:

  • should work on as many browsers as possible
  • should work into the future if possible (although this is less important as I can change the implementation if things change
  • the less effort required the better (in particular the less extra work required for each browser the better).
  • the less work the user has to do (i.e. download plugins, update browser version) the better

  • 如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

    扫码二维码加入Web技术交流群

    发布评论

    需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

    评论(2

    谢绝鈎搭 2024-10-01 23:43:10

    您可能想看看 Plupload。它使用各种插件、齿轮、html5、flash 等来为您完成这项工作。对于 IE 7 及更低版本,拖放可能会有点问题。

    http://www.plupload.com/documentation.php

    You might want to look at Plupload. It uses various plugins, gears, html5, flash, etc, to do the job for you. Drag and drop might be bit of problem for IE 7 and below.

    http://www.plupload.com/documentation.php

    独自←快乐 2024-10-01 23:43:10

    HTML 5 拖放可能具有最广泛的接受度。但要记住的主要一点是,Google Gears 不再受支持,并且在版本 12(当前版本)中也没有从 Chrome 中删除。

    HTML 5 drag and drop probably has the widest acceptance. But the main to keep in mind is that Google Gears is no longer supported and has no been dropped from Chrome in version 12 ( the current version )

    ~没有更多了~
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文