Re: [webkit-dev] drag'n'drop file uploads

2009-04-22 Thread Adam Barth
You can drag and drop a file onto the file input control, which you
can create using .  I'm not sure if that addresses
your use case.

Adam


On Wed, Apr 22, 2009 at 1:45 PM, Philip Orr  wrote:
>> > Does anyone have any pointers on drag and drop files from the finder
>> > directly into a web page or section of a web page. I've got examples
>> > in Firefox for this but sadly lacking in WebKit knowledge.
>>
>> Maybe if you pointed to the examples “in Firefox” we could get a
>> better idea of what you’re talking about. If they are based on web
>> standards and don’t depend on Firefox-specific features, then there’s
>> a good chance they can be made to work in WebKit-based browsers as
>> well. Perhaps there are bugs getting in the way.
>>
>> -- Darin
>>
>
> Unfortunately the Firefox version uses the XPConnect bridge to get
> permissions handling and the XPCOM for the low level stuff.
>
> Here is a link to the source:
>
> http://straxus.javadevelopersjournal.com/creating_a_mozillafirefox_drag_and_drop_file_upload_script_p.htm
>
> I'm looking to create web applications in HTML5 and CSS3.0 that allow a user
> to drag either individual files or a folder of files into the application
> and are then manipulated and stored with reference to the actual files in
> the database. Once completed all files are then fired off to the server to
> final composition.
>
> I remember looking into this a while ago and finally gave up, only now we
> actually could really do with the ease of use and was hoping the Webkit
> nightly builds could have helped to provide the goods.
>
> Philip
>
> 
> Surfing the web just got more rewarding. Download the New Internet Explorer
> 8
> ___
> webkit-dev mailing list
> webkit-dev@lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] drag'n'drop file uploads

2009-04-22 Thread Philip Orr

> > Does anyone have any pointers on drag and drop files from the finder  
> > directly into a web page or section of a web page. I've got examples  
> > in Firefox for this but sadly lacking in WebKit knowledge.
> 
> Maybe if you pointed to the examples “in Firefox” we could get a  
> better idea of what you’re talking about. If they are based on web  
> standards and don’t depend on Firefox-specific features, then there’s  
> a good chance they can be made to work in WebKit-based browsers as  
> well. Perhaps there are bugs getting in the way.
> 
>  -- Darin
> 

Unfortunately the Firefox version uses the XPConnect bridge to get permissions 
handling and the XPCOM for the low level stuff.

Here is a link to the source:

http://straxus.javadevelopersjournal.com/creating_a_mozillafirefox_drag_and_drop_file_upload_script_p.htm

I'm looking to create web applications in HTML5 and CSS3.0 that allow a user to 
drag either individual files or a folder of files into the application and are 
then manipulated and stored with reference to the actual files in the database. 
Once completed all files are then fired off to the server to final composition.

I remember looking into this a while ago and finally gave up, only now we 
actually could really do with the ease of use and was hoping the Webkit nightly 
builds could have helped to provide the goods.

Philip

_
View your Twitter and Flickr updates from one place – Learn more!
http://clk.atdmt.com/UKM/go/137984870/direct/01/___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] drag'n'drop file uploads

2009-04-22 Thread Darin Adler

On Apr 22, 2009, at 3:47 AM, Philip Orr wrote:

Does anyone have any pointers on drag and drop files from the finder  
directly into a web page or section of a web page. I've got examples  
in Firefox for this but sadly lacking in WebKit knowledge.


Maybe if you pointed to the examples “in Firefox” we could get a  
better idea of what you’re talking about. If they are based on web  
standards and don’t depend on Firefox-specific features, then there’s  
a good chance they can be made to work in WebKit-based browsers as  
well. Perhaps there are bugs getting in the way.


-- Darin

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] drag'n'drop file uploads

2009-04-22 Thread Philip Orr




Does anyone have any pointers on drag and drop files from the finder
directly into a web page or section of a web page. I've got examples in
Firefox for this but sadly lacking in WebKit knowledge.

Thanks

Philip
_
Share your photos with Windows Live Photos – Free.
http://clk.atdmt.com/UKM/go/134665338/direct/01/___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev