Re: [jQuery] drag & drop : proxy element?

2007-02-26 Thread Circlefusion



Paul Bakaus wrote:
> 
> 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.
> 

Thank you very much, Paul.

Rather than use a hack, I'd prefer to use the proper helper technique
planned for the newer version. The project that I'm currently working on
won't be due in its final version for a few months. I can use the non-helper
version of the drag-drop for now and add in the helper element later on when
Interface updates. I'd certainly be interested in looking at the alpha
version when it's available.

Thanks again for your response,

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


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


Re: [jQuery] drag & drop : proxy element?

2007-02-25 Thread Paul Bakaus

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/


[jQuery] drag & drop : proxy element?

2007-02-23 Thread Circlefusion

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/