Forcing a Drag and Drop
June 25, 2009 12:00 AM
You have two choices. The one I use is to create an image with all the items in the correct location. Place it over the drop image and hide it. Then show it when you want to show the correct answer.
The second solution is to set the question variable to the correct answer, 1-1, 2-2, 3-3, ... and then refresh the page with this code.
On: Mouse Click
Action: Modify Variable
Target: temp (Dummy Variable)
Value: Javascript: window.location.reload()
This has the disadvantage of destroying the student's answer and since it uses Javascript it does not work when published to a Single File Executable.
Discussions have been disabled for this post