W3C home > Mailing lists > Public > public-xg-socialweb@w3.org > August 2009

Re: User Stories: Drag and Drop

From: Scott Wilson <scott.bradley.wilson@gmail.com>
Date: Wed, 19 Aug 2009 22:45:00 +0100
Cc: Alexandre Passant <alexandre.passant@deri.org>, public-xg-socialweb@w3.org
Message-Id: <5AECC46C-F226-4D30-B06F-4243CE4F04DB@gmail.com>
To: Story Henry <henry.story@bblfish.net>
Currently not much happens in drag events that go outside the browser  
in FF 3.5, but this is planned in the spec - see section 7.9.4.2 in http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html
So at the very least you should be able to handle the main drag data  
transfer types supported by the OS, which are typically Text, URL, and  
File. (Whether browsers will also try and construct a custom bytearray  
object for application-specific data is less certain.)

But we'll have to wait a few browser updates to try this one.

-S

On 19 Aug 2009, at 22:02, Story Henry wrote:

>
>
> On 19 Aug 2009, at 20:39, Scott Wilson wrote:
>
>> Sure, I don't see why not - if you include a URL in the drag data,  
>> the drop target can dispatch an AJAX request to grab more  
>> information about the resource.
>
> Has anyone tried the inverse? I mean starting a drag operation from  
> a thick client running on the desktop - (written in java or flash  
> for example ) and dropping it onto an HTML5 browser such as firefox?  
> If it works do you have any pointers? I'd like to try this.
>
> Henry
>
>
>> S
>>
>> On 19 Aug 2009, at 19:15, Story Henry wrote:
>>
>>>
>>> On 19 Aug 2009, at 19:42, Scott Wilson wrote:
>>>
>>>> We can already do this using HTML 5 in FF 3.5.
>>>>
>>>> See: http://zope.cetis.ac.uk/members/scott/blogview?entry=20090624222327
>>>> and: http://zope.cetis.ac.uk/members/scott/blogview?entry=20090623135357
>>>>
>>>> (I didn't use the native microdata feature for this, but could  
>>>> easily have done)
>>>
>>> Very nice. I added those two articles to the wiki. (perhaps that's  
>>> not the place to do this? Seems useful for the moment at least.)
>>>
>>> It looks like this should enable Universal Drag and Drop too: ie  
>>> the passing by reference (URI/URL) of a resource, which on GET  
>>> describes itself. Is that correct?
>>>
>>> Henry
>>>
>>>
>>>> S
>>>
>>
>



Received on Wednesday, 19 August 2009 21:45:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:22:08 UTC