How to drag multiple selectables with drop event
I need to select multiple items (selectables) and drag them all at
once. I've found tutorials
http://pastebin.me/4878f6c4784a4
http://www.ryancoughlin.com/2008/11/23/combining-selectables-and-draggables-using-jquery-ui/
how to drag multiple items. The problem is the drop event is fired
only for dragged item. I need somehow to fire drop event on other
dragged items (they aren't dragged real, just adjusting position). I
was thinking about something like this... but isn't working
start : function (event, ui) {
selected = $('.shape.ui-selected:not(#'+ ui.helper.attr
('id') +')', parent);
selected.each(function () {
$(this).trigger('mousedown.draggable', [event]);
});
},
Thanks for any leads / help.