Update '12/dragable.js'

master
murtaugh 5 years ago
parent 4e10288eb4
commit ce47eff22e

@ -1,4 +1,4 @@
function makeDragable(dragHandle, dragTarget) {
var dragObj = null; //object to be moved
var xOffset = 0; //used to prevent dragged object jumping to mouse location
@ -55,12 +55,8 @@ function makeDragable(dragHandle, dragTarget) {
};
}
// makeDragable('#shell_03header', '#shell_03');
// makeDragable('#week_05header', '#week_05');
// using jquery-ui
$("#shell_03").draggable({ handle: "#shell_03header" });
$("#week_05").draggable({handle: '#week_05header'});
makeDragable('#shell_03header', '#shell_03');
makeDragable('#week_05header', '#week_05');

Loading…
Cancel
Save