如何使用 html5 和 php 创建拖放可扩展文件浏览器
我希望能够将目录拖到浏览器中,并让它使用文件浏览器部分中的所有文件和子目录及其内容填充浏览器窗口右侧的文件浏览器部分。
文件浏览器看起来像这样:
任何快速和建议简单的库或代码片段就可以开始使用,那就太好了!
预先感谢您的任何帮助!
大家干杯!
I would like to be able to drag a directory into my browser and have it populate a file browser section to the right of the browser window with all the files and sub-directory's and their content in the file browser section.
The file browser would look something like this :
Any suggestions quick and easy libraries or code snippets to get started with would be great!
Thanks in advance for any help!
Cheers all!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一个使用 HTML5 的漂亮拖放演示。 PHP 不会真正影响任何事情,因为它是服务器端,而您正在谈论客户端交互。
http://www.html5rocks.com/en/tutorials/file/dndfiles/
Here is a nice drag and drop demo using HTML5. PHP wouldn't really affect anything, as it is server side, and you're talking about client side interaction.
http://www.html5rocks.com/en/tutorials/file/dndfiles/