[jQuery] Re: Drag- & Droppables using Interface

2007-07-09 Thread Benjamin Sterling
Fredrik, Sorry I did not get back to you, I am glad to see you got it working. On 7/9/07, Fredrik Karlsson <[EMAIL PROTECTED]> wrote: It seems I managed to solve the problem. After trying your code again, and removing .wrap() which caused some weird behaviour, everything's working again. Now I

[jQuery] Re: Drag- & Droppables using Interface

2007-07-09 Thread Fredrik Karlsson
It seems I managed to solve the problem. After trying your code again, and removing .wrap() which caused some weird behaviour, everything's working again. Now I'll just have to keep an eye open for duplicate elements. Cheers! On 8 Juli, 16:13, "Benjamin Sterling" <[EMAIL PROTECTED]> wrote: > > A

[jQuery] Re: Drag- & Droppables using Interface

2007-07-09 Thread Hurreman
I managed to get your code working ( I don't know why it wouldn't work earlier ), but I ended up with some new odd behaviour. When I drag an element from one droppable to another, it appears to be leaving an empty instead of removing it. Code: $(dragged).remove().clone().appendTo('#' + groupID

[jQuery] Re: Drag- & Droppables using Interface

2007-07-08 Thread Benjamin Sterling
A live version of the script can be found on http:// www.ethowin.net/dragTest.htm . I tried using your code, but it neither cloned or removed the dragged element. Hmm... then it probably was not getting an element in cor

[jQuery] Re: Drag- & Droppables using Interface

2007-07-08 Thread Hurreman
Thanks for the welcome Benjamin! A live version of the script can be found on http:// www.ethowin.net/dragTest.htm . I tried using your code, but it neither cloned or removed the dragged element. Also, the problem is qui

[jQuery] Re: Drag- & Droppables using Interface

2007-07-07 Thread Benjamin Sterling
Fredrik, Welcome to the list! Not sure what you mean by "qhetto" solution, but your way seems fine. Is there a live version I can look at? No exactly sure what you are doing with $('body').mouseover and then what $(this) is reffering to. But, doing something like (untested): $(dragged).clone(