I have this jQuery code:
$(".right_box_holder").sortable({
update : function () {
var order = $('.right_box_holder').sortable('serialize');
$.get("right_menu_functions.php?change_sortorder&"+order);
}
});
and this HTML code:
<div class='right_box_holder'>
<div class='right_box' id='box_0'>
</div>
<div class='right_box' id='box_1'>
</div>
<div class='right_box' id='box_2'>
</div>
</div>
As of now, I can click anywhere inside .right_box and move it. I want to disable this and make the button / icon inside .right_box, which the user must click to drag the window. Is it possible?
source
share