30
rated 0 times
[
36]
[
6]
/ answers: 1 / hits: 17894
/ 9 Years ago, fri, september 4, 2015, 12:00:00
I have a draggable defined this way:
$(#drag_area a).live(mouseup, function() {
var object = $(this);
var class_array = $(this).attr(class).split( );
element(object,class_array);
return false;
}).draggable({
containment: #drag_area,
grid: [44, 44],
zIndex: 1000
}).each(function(i, item){
});
When i drag an item of the type 'drag_area a', if i scroll the page while dragging it, the item exits from containment... It is not a desidered situation, so how can i avoid this? Can i disable page scrolling during dragging?
More From » jquery