You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
387 B
22 lines
387 B
4 years ago
|
// 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++); }
|
||
|
});
|
||
|
|
||
|
|
||
|
|
||
|
});
|