HOME ➔ SUPPORT ➔ Community ➔ General CourseLab issues ... dragged object
dragged object
  View type:
for drag and drop, what action can i use after the ondrop event to lock the dragged object inside the target area (i'm using this for a quiz item)? tnx
 
Draggable objects cannot be reversed to non-draggable in run-time mode. But there are simple solutions. There are at least 2 options:
1. On drop - move the object in its right place (i.e. adjust its position) and display some overlapping transparent object (Click Area for example) - it will intercept mouse drag actions.
2. Hide the draggable object (DISPLAY - hide) and display the non-draggable copy of this object on right place.

If your draggable object is not very complex, then the second approach is better.
 
 
'ello slav
[:p]
great solutions! worked for me. thanks [:)]
Subject:
Message options
No additional options