源码下载 在线演示
代码:
script>
script>
$(document).ready(function() {
$('.content').dragSensitive({
// The length of every row. Default is 10 items per row
rowLength : 10,
// The default width of the box.
boxWidth : 660,
// The default height of the box.
boxHeight : 500,
// The rate at which grabbing pans across items
// The default is 1.3. Increasing makes it go slower.
rate : 1.3,
// Sets whether or not the UI will snap to the last
// element when the user stops grabbing
round : true,
// This amount a user can drag (in pixels) while still
// being able to click an object. Usually clicking is
// disabled on drag, but within a (by default) 20px movement
// clicking will still be enabled
mistake : 20
});
});
script>
Copyright © 2019- aagj.cn 版权所有
违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务