首页 相关文章 jQuery UI-Draggable 参数集合

jQuery UI-Draggable 参数集合

Draggable
库文件:ui/ui.core.js、ui/ui.draggable.js
============================================================
Default:
$(”#draggable”).draggable();
============================================================
constrain-movement(限制范围移动):
$(”#draggable”).draggable({ axis: ‘y' }); //限制y轴
$(”#draggable2″).draggable({ axis: ‘x' }); //限制x轴
$(”#draggable3″).draggable({ containment: ‘#containment-wrapper', scroll: false }); //不出现滚动条
$(”#draggable4″).draggable({ containment: ‘#demo-frame' });
$(”#draggable5″).dr...[ 查看全文 ]

2016-02-19 标签:

jQuery UI-Draggable 参数集合的相关文章

手机页面
收藏网站 回到头部