本文介绍了HTML5,JavaScript:从外部窗口拖放文件(Windows资源管理器)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 我可以请求一个很好的工作实例吗? HTML5文件拖放实现?如果从外部应用程序(Windows资源管理器)到浏览器窗口执行拖放操作,则源代码应该可以工作。它应该尽可能多的浏览器工作。Can I kindly ask for a good working example of HTML5 File Drag and Drop implementation? The source code should work if drag and drop is performed from external application(Windows Explorer) to browser window. It should work on as many browsers as possible.我想要一个很好的解释的示例代码。我不想使用第三方库,因为我需要根据我的需要修改代码。代码应基于 HTML5和JavaScript 。我不想使用JQuery。I would like to ask for a sample code with good explanation. I do not wish to use third party libraries, as I will need to modify the code according to my needs. The code should be based on HTML5 and JavaScript. I do not wish to use JQuery.我花了一整天的时间寻找材料的好材料,但令人惊讶的是,我没有找到任何好处。我发现这些示例在Mozilla上工作,但对Chrome无效。 I spent the whole day searching for good source of material, but surprisingly, I did not find anything good. The examples I found worked for Mozilla but did not work for Chrome. 推荐答案此链接详细解释了我的问题:This link explains my question in pretty detail: http://www.html5rocks.com/en/tutorials/file/dndfiles/ 这篇关于HTML5,JavaScript:从外部窗口拖放文件(Windows资源管理器)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-31 11:50