ProgerXP / FileDrop

Self-contained cross-browser pure JavaScript class for Drag & Drop and AJAX (multi) file upload.
filedropjs.org
The Unlicense
264 stars 61 forks source link

Demo site doesnt work - IE8 #18

Closed koan00 closed 10 years ago

koan00 commented 10 years ago

Exploring the net looking fo interesting options for IE 7/8 support and I came upon this site. It looks promising, however the page loads with a javascript error and the drag and drop doesn't appear to work.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E) Timestamp: Thu, 17 Apr 2014 13:31:05 UTC

Message: Syntax error Line: 26 Char: 10 Code: 0 URI: http://filedropjs.org/demo/

ProgerXP commented 10 years ago

Sorry, was a minor problem with the site. However, upload still worked for me despite the syntax error (that was actually in the analytics code). If you check it now - does it work?

Also do note that drag & drop is only supported in IE 10+. This is browser limitation, not FileDrop's. It can only be worked around with Flash and similar hacks.

koan00 commented 10 years ago

Thanks, the java script error is no longer present. Regarding the drag and drop support, I assumed it would work based on this wording on your home page:

"Internet Explorer only supports drag & drop since version 10 — previous versions can use built-in iframe fallback"

I would interpret that to mean that there is a working fallback for drag and drop support in older IE versions. Obviously that is not your intentended meaning.

ProgerXP commented 10 years ago

working fallback for drag and drop support in older IE versions

There is working fallback but it involves user clicking on the drop zone instead of dropping a file there. There is no way of doing the same with drag and drop. This is what iframe fallback means, e.g. this sample: http://filedropjs.org/#sif