SanderElias a écrit :
Hi,
Hi,
1. on a successful drop, the draggable does a revert. I only want a
revert, when it's dropped outside an dropzone.
To do this, just remove the element in your ondrop function.
2. Somehow connecting to the draggable fails.
connect(aDrag[x],"onstart",function(){log('dragging!!');})
//connect(aDrag[x],"start",function(){log('dragging!!');}) //did
not work too
//connect(lis[x],"onstart",function(){log('dragging!!');}) //did
not work too
//connect(lis[x],"start",function(){log('dragging!!');})
//did not work too
The signals generated are generated on the Draggables
(MochiKit.DragAndDrop.Draggables). You connect to it *one* time for all
your draggable items. You'll get the draggable as first argument.
--
Thomas
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---