香
香槟女孩
Unregistered / Unconfirmed
GUEST, unregistred user!
下面几句话来自于一篇XML教程,请高手帮忙翻译一下,万分感谢!
1、This method first ensures that there is a current entity and that the selected entity is not the entity being moved over. It then
proceeds to set the target property of the DragControl, after which it cancels the bubbling of events within the client browser.
2、This method simply sets the selected entity's X and Y coordinates to the current mouse event's X and Y coordinates. This method is called from within the move() method.
3、This method ensures that the user is actually dragging the entity by at least 5 pixels in any direction whether X, Y, positive, or negative. It then
moves the entity out of the current tree and into the body of thedo
cument. It is continuously called via the "onmousemove" event of thedo
cument object and ensures that the entity is always displayed next to the mouse cursor.
4、This method simply cleans up thedo
cument and the DragControl object. It is called whenever a drag and drop is completed or canceled.
1、This method first ensures that there is a current entity and that the selected entity is not the entity being moved over. It then
proceeds to set the target property of the DragControl, after which it cancels the bubbling of events within the client browser.
2、This method simply sets the selected entity's X and Y coordinates to the current mouse event's X and Y coordinates. This method is called from within the move() method.
3、This method ensures that the user is actually dragging the entity by at least 5 pixels in any direction whether X, Y, positive, or negative. It then
moves the entity out of the current tree and into the body of thedo
cument. It is continuously called via the "onmousemove" event of thedo
cument object and ensures that the entity is always displayed next to the mouse cursor.
4、This method simply cleans up thedo
cument and the DragControl object. It is called whenever a drag and drop is completed or canceled.