This is crucial, because the user might drag the cursor all over the page during the drag-and-drop sequence.
这一点十分关键,因为在拖放过程中用户可能会将光标拖过整个页面。
The drag handlers are uninstalled, leaving the original onmousedown handlers behind, ready to start the next drag-and-drop sequence.
这个拖动处理程序将被卸载,只留下最初的 onmousedown 处理程序,准备好开始下一轮的拖放过程。
However, at first, you only want to install the mousedown handler, because you're still waiting for the click that initiates the drag-and-drop sequence.
不过,开始时,只需安装mousedown处理程序,因为此时您尚在等待激发初始化拖放过程的单击。
When you initiate a drag-and-drop sequence and invoke this handler, it creates onmousemove and onmouseup handlers and installs them in the target element.
在初始化拖放序列并调用此处理程序时,它会创建onmousemove和onmouseup处理程序并能在目标元素内安装它们。
This way, when a drag-and-drop sequence ends, you can call the restore() function to put things back the way they were before the drag-and-drop sequence started.
这样一来,当拖放过程结束后,就可以调用restore()函数,恢复到拖放过程开始之前的状态。
As you can see from Figure 23, when creating a new operation from the sequence diagram, there is a drop-down menu in the Create new operation dialog.
正如您从图23中看到的那样,在从序列图中创建新的操作时,在CreateNewOperation对话框中会出现一个下拉菜单。
You can also drag and drop a product to change the sequence of price list.
你也可以拖拉右边的页面上的某个商品,更改商品显示次序。
You can also drag and drop a product to change the sequence of price list.
你也可以拖拉右边的页面上的某个商品,更改商品显示次序。
应用推荐