diff --git a/README.mkd b/README.mkd index b5e9052..ac42d6c 100644 --- a/README.mkd +++ b/README.mkd @@ -1,18 +1,18 @@ -# jQuery Sortable +因项目需要(模拟IOS桌面launch),对插件进行了以下强化: -jQuery Sortable is a flexible, opinionated sorting plugin. -It enables items in a list (or table etc.) to be sorted horizontally and vertically using the mouse. -Supports nested lists and pure drag/drop containers. +1.美化:自适应宽高布局,使用了absolute和translate3d,拖拽起来更加流程动感. -jQuery Sortable does not depend on jQuery UI and works well with Twitter's Bootstrap (You can even sort the Bootstrap navigation). +2.补足:新增了#draggtemp用来存放跟随鼠标的li.解决了多个ul互相拖拽时该li定位问题(例如#u1a li拖到#ulb li,定位仍然relative到#ula,所以直接外放到全局body中.方便控制). +用法: +```htm +
+``` +这里面的css是相对body的绝对定位.#draggtemp>li{position:absolute} -More information can be found on [http://johnny.github.com/jquery-sortable/](http://johnny.github.com/jquery-sortable/). +3.强化:如果超出区域则无法继续添加. +用法: +```htm +