Hi Dave,

On Sunday February 28 2010 16:51:14 Dave Baggett wrote:
> I'm trying to make desktop drag and drop work under IE. Basically, I want
> to make an atom (label plus image) natively draggable to the desktop.
> Right now I'm using a plugin to make this work, but I'm not entirely sure
> that's necessary. In any case, one serious issue seems to be that IE won't
> allow you to make anything natively draggable but an IMG tag. I've been
> totally unable to find any docs on this, though, so I'm really not even
> sure what is supposed to be draggable; if anyone knows, please share.
In qooxdoo we do not drag certain elements around. We do use a special drag 
and drop cursor which is themable. Maybe you can use this to mimic a "ghost" 
element which is dragged around instead of the real element.

> The problem is, of course, that an atom isn't just an IMG tag. In fact, it
> often doesn't contain an IMG tag at all, because even the Image widget
> alone is often rendered as a DIV. I can't even change that behavior by
> subclassing, BTW, because the method that creates the DOM node is private
> (double-underscored).
I do not know if that's was the reason why we didn't use the element as 
"ghost", but keep in mind that some elements are really hard to handle when 
dragged around, e.g. iframe elements. So if you want to extend your drag and 
drop solution and be able to drag some other elements around it may not work 
out on every browser performanently. Maybe it's better to use another 
approache: to only drag around a ghost element.
 
> So my thought is to place a blocker over my atom and make that draggable.
> That would require me to add an invisible IMG node to the blocker itself.
> I'm having various problems making this work, so I thought I would ask the
> experts if this seemed like a plausible approach, or if they had any other
> less hacky suggestions.
This comes near to a special ghost or drag and drop cursor widget :)

cheers,
  Alex

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to