Draggable/Droppable positioning with Jquery UI -


I am using a simple dragbable / droppable jazzy UI function, which I have to modify in a certain way. The first thing that I want to do is drag the two (or more) dragable objects into a droppable item on each other. So when I take them to drop-in, I do not want them to be 5px free in every direction and keep them on each other. Is this possible? $ ("(Idle:" #docs ", back:" invalid "}); $ (" doppableable "): $ (function () {$ (" .draggable "), draggable ({Tolerance: 'Fit', Over: Function (Event, UI) {$ ('.u-drag-able-dragging'). Ad Class ('Hoverclass');}, Out: Function (Event, UI)) {$ ('.ui-draggable-dragging'). RemoveClass ('hoverclass');}, drop: function (event, UI) {$ (".droppable") .addClass ('dropClass');}}); }

Thank you.

< P> Do you read the AE for any solution?



Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -