最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

javascript - Cross-browser drag-and-drop HTTP file upload? - Stack Overflow

matteradmin7PV0评论

I'm looking for a cross-browser html file uploader with drag-and-drop capability. Ideally the drop target area can be large and overlap other elements (ie. I'd like to allow the user to drop the item on existing parts of the HTML UI instead of requiring a separate target area).

Cross browser support (including IE6) is important, as is reliability. I'm using jQuery, but am open to good solutions that don't use jQuery.

Any remendations?

I'm looking for a cross-browser html file uploader with drag-and-drop capability. Ideally the drop target area can be large and overlap other elements (ie. I'd like to allow the user to drop the item on existing parts of the HTML UI instead of requiring a separate target area).

Cross browser support (including IE6) is important, as is reliability. I'm using jQuery, but am open to good solutions that don't use jQuery.

Any remendations?

Share Improve this question asked May 3, 2011 at 17:57 ParandParand 107k49 gold badges156 silver badges188 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 1

Give FileDrop a try:

http://proger.i-forge/FileDrop_-_cross-browser_JavaScript_Drag-Drop_file_upload/7CC

As per the site:

supports Firefox 3.6, Internet Explorer 6, Google Chrome 7, Apple Safari 5 and Opera 11.61 (Opera 12+ supports native drag & drop).

Keep in mind drag-and-drop doesn't work in IE < 10 though.

Not sure if the drop area will work as you want, you will have to experiment.

Plupload maby, though i have not managed to find a browser patibility list...

http://www.plupload./

https://github./moxiecode/plupload

Post a comment

comment list (0)

  1. No comments so far