Log in

View Full Version : Drag drop script, Not sure of possible.



benslayton
05-19-2007, 02:45 AM
Is it possible to have a script maybe ajax where you can you can drag a file from your computer onto your browser? Im not sure if it can be done but just wondering.

thetestingsite
05-19-2007, 03:23 AM
Simple answer is it cannot be done using any sort of Javascript, server-side script, or anything to that effect. The closest thing would be an FTP client extension in Firefox.

Hope this helps.

benslayton
05-19-2007, 04:06 AM
let me guess no flash either ehh.
man what a bummer.

Twey
05-19-2007, 09:27 AM
Hmm, I don't know... most OSes support dragging a file to a file input, I think.

djr33
05-19-2007, 10:46 AM
You could further that by formatting the file input a bit, perhaps.

benslayton
05-20-2007, 11:04 PM
I thought of that afterwards. The file input. I could incorporate DD's drag and drop script maybe.

Bob90
05-21-2007, 08:17 AM
Try these

Firefox example (http://straxus.javadevelopersjournal.com/creating_a_mozillafirefox_drag_and_drop_file_upload_script_p.htm)

http://codingforums.com/archive/index.php?t-36896.html