首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > jQuery UI插件选定元素的可交换可交换使用鼠标拖动。

jQuery UI插件选定元素的可交换可交换使用鼠标拖动。

资 源 简 介

The jQuery UI Swapable plugin makes selected elements swappable by dragging with the mouse. Introduction Enable a group of DOM elements to be swappable. Click on and drag an element to a new spot within the list; drag element and drop one will swap and the other items will not affected. By default, swapable items share sortable properties. Details Similar to "Sortable", but only two elements of the selected group are affected: dragged and dropped which are swapped. All other elements stay at their current positions. This plugin is built based on existing "Sortable" jQuery plugin and inherits all sortable options except "cursorAt" one which is hard-coded. Based on jquery.ui.sortable.js Depends: jquery.ui.core.js jquery.ui.mouse.js jquery.ui.widget.js jquery.ui.sortable.js To add the feature to a group of elements: Minimal configuration: ``` $(&quo

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP