vvvw/wells/static/js/draggable.js

22 lines
387 B
JavaScript
Executable File

// draggable
$(document).ready(function() {
var a = 3;
var dragOpts = {
cursor: "move",
cursor: "grab",
// axis: "y",
distance: "0",
// cursorAt: {
// top: 0,
// left: 0
// }
};
$('.draggable').draggable({
start: function(event, ui) { $(this).css("z-index", a++); }
});
});