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/


[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/


Re: [jQuery] How to drag and drop with vanishing draggable?

2007-02-23 Thread Circlefusion



Stefan Petre wrote:
> 
> Hi
> remove 'fx' option
> 
> Stefan
> 
> 

Hello Stefan,

That solution prevents the revert from animating when the drop is invalid. I
want the dragged item to slide back into place if it is dropped in the wrong
area, but I want it to NOT slide back (turn off fx) if the drop is valid. Is
there any way to allow the fx setting for bad drops, but turn it off for
successful drops? I think that would be ideal.

Thanks

Brian
-- 
View this message in context: 
http://www.nabble.com/How-to-drag-and-drop-with-vanishing-draggable--tf3028757.html#a9127116
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] I could use help with Drag-drop

2007-01-24 Thread Circlefusion

hmm...just testing the reply feature. I'm not sure if I understand yet how
Nabble works yet. I had difficulty posting this yesterday as I wasn't a
member of the mailing list. I just signed up for it today.
-- 
View this message in context: 
http://www.nabble.com/I-could-use-help-with-Drag-drop-tf3064614.html#a8568432
Sent from the JQuery mailing list archive at Nabble.com.


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


[jQuery] I could use help with Drag-drop

2007-01-24 Thread Circlefusion

Hey all,

I'm researching JQuery for a project at work. It is a recipe website that
has a "recipe box" feature where they want to be able to drag recipes
between folders for organization. Here is a screen shot of the basic
functionality that I'm trying to accomplish.

http://www.circlefusion.com/projects/ge/recipe_box_drag.png 

A couple of rules for the drag-drop:

If the recipe is not dragged to an appropriate target (a folder) then it
stays in it's original position when the mouse is released.

After the drop is completed, an AJAX call would update the database and
reload the recipe list in whichever folder the user is located.

I couldn't find a clear example of this type of drag-drop scenario on any of
the JQuery demos. I saw similar things on the Interface website in the demos
section. http://interface.eyecon.ro/

Can someone give me some direction? Suggestions? Tips? 

Or just let me know if this can be done using JQuery. I was considering
using YUI, but so far I find JQuery easier to use. I'm assuming that
Interface is what I'm looking for (for drag-drop functionality)

Thanks

Cf
-- 
View this message in context: 
http://www.nabble.com/I-could-use-help-with-Drag-drop-tf3064614.html#a8523227
Sent from the JQuery mailing list archive at Nabble.com.


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