I need to lock a draggable element once it’s in a certain position, but i need to do this with Javascript, rather than a timeline, as there are many elements and certain conditions have to be met.
Everything works fine, but I have been unable to lock the element. So you can still move it after it’s reached the position on the screen.
I am not using JQuery UI, I am using the control element position on the action to drag it round. I need to know how i can remove that from the action list ? Is that not possible ?
I have the gesture = end in place, but how do I make it stop the element from moving again. This is what I am asking. I need the element to stop being draggable once in a position. When its in that place, it goes green, now i need it to stop being draggable. Can you tell me how to achieve this ?
Would something simple like having a Box without a background color as the landing area work?
example – box 1 is draggable and box 2 is larger than box 1 – use the “arrange” menu to send box 1 to the rear and bring box 2 forward. Or you could use a javascript for z-index