Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

YUI drag&drop proxy drag

Question for YUI experts...

I have a table and I've made each cell of the first row draggable by proxy. In IE, when the drag proxy is released, the original table cell actually jumps to wherever the release point was. How can I prevent this from happening? Essentially, I want to know where the proxy was dropped and handle my logic from there but I don't want the original to move.

like image 819
Rex M Avatar asked Nov 05 '22 23:11

Rex M


1 Answers

You have to override the drop-functions, check for

DD::dragOverEvent( )

DD:endDragEvent( )

functions on this reference:

http://developer.yahoo.com/yui/docs/YAHOO.util.DD.html

like image 144
Joshi Spawnbrood Avatar answered Nov 12 '22 19:11

Joshi Spawnbrood