Hi Brian,

we are currently working on a major rewrite on Drag & Drop for Interface 2.
Hopefully I will have the time to release a alpha version soon enough. With
this new code, you will be able to create a "proxy" (we name it helper),
that looks like you want. the property helper is able to accept a function
(with a reference to the original element) which just have to return  a
valid DOM node.

For now, you can "hack" it if you want, by accessing the onstart callback,
which also gives you a reference to the helper, then replace the helper by
something you want.

I'll keep the list updated,

-Paul

2007/2/23, Circlefusion <[EMAIL PROTECTED]>:


I use the word "proxy" because that is how it is worded in YUI. I'm
referring
to the ghosted element that is physically being dragged along with the
cursor during a drag and drop.

It seems that the interface plugin drag and drop function creates a copy
of
the element being dragged. I've found that this causes problems when
dragging table rows in IE. The ghosted element either doesn't display, or
it
ends up dragging the entire table as the ghosted element. I can get it to
work by sticking divs inside the table rows and using those as the
draggable
elements, but that seems like a silly solution.

It would be ideal to be able to define a "proxy" element to be used during
the drag. That way I can define CSS just for that element to affect how
the
ghosted image appears. I can also use a div for this ghosted element to
represent the table row that I'm trying to drag. Or I could use an image
for
the ghosted element.

Does JQuery/Interface provide a way to use a proxy element during a drag
and
drop?

Thanks,

Brian
--
View this message in context:
http://www.nabble.com/drag---drop-%3A-proxy-element--tf3281374.html#a9127254
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/




--
--
Paul Bakaus
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to