Forum Discussion
Randomizing Drag and Drop Items - HELP!!! (I'm new to Storyline 360)
Hi, I am having the same problem as Christian. I have a bunch of drag and drop answers that are being shown one at a time. I'd like to have them show up in random order, but then they cannot be randomized.
WaltHamilton provided a JavaScript solution (Shuffle_drag_and_drop. story. I don't know enough Javascript to edit it for my story file. Can someone help?
Thanks,
Judith Reymond
- ThierryEMMANUEL23 days agoCommunity Member
Hello Judith TSCOnlineTeam . I'm glad I came across your question. I was able to create your screen exactly as you wanted it—now your stock of answers appears randomly each time and drag-and-drop still works—with the help of these handy little JS code, while simplifying everything. I'm going to keep this solution for myself.
You can view your screen in the modified attachment file, then dive into the triggers panel.
For greater clarity, I've renamed your answers by adding a number in front of them and displayed the variables used by the JS codes (both to be removed). And deliberately arranged the answers side by side: all you have to do is stack them on top of each other.
To avoid an overly long message here, I have provided all the explanations on the third screen of the attached file so that you can understand and modify the screen again as you wish.
Please let me know if this has helped you.
Related Content
- 8 months ago
- 5 months ago
- 5 months ago
- 7 months ago