Forum Discussion
JoC62
6 days agoCommunity Member
Matching drag and drop activity
Hi, I am trying to create a drag and drop activity that mimics the functionality of the built in matching drag and drop activity, but is more flexible. I don't want the boxes on the right to be the s...
JoC62
15 hours agoCommunity Member
Thank you! That does solve part of the problem. I'm not confident using Javascript unfortunately as that would definitely be the easiest solution.
DShaw
11 hours agoCommunity Member
JoC62 I've created and ran a script in Rise that you should be able to use to build what you want; as long as I understood your requirement exactly! Here's what to do:
In the builder
- Design your activity (add items, set colours, sizes, etc.)
- Click Copy HTML button
Create the HTML file
- Open Notepad (Windows) or TextEdit (Mac)
- On Mac, also go to Format → Make Plain Text (Cmd+Shift+T) so it doesn't save as RTF
- Press Ctrl+V (or Cmd+V on Mac) to paste the HTML
- Save the file:
- File → Save As
- Filename: index.html (this exact name matters — Storyline looks for it)
- Save as type dropdown: change from "Text Documents" to "All Files"
- Save it somewhere you'll find it — e.g. Desktop
Put it in a folder
- Create a new folder, e.g. Desktop/dragdrop-activity
- Move your index.html into that folder
So you should have: Desktop/dragdrop-activity/index.html
Insert into Storyline
- Open Storyline and go to the slide where you want the activity
- Top ribbon: Insert tab → click Web Object
- In the Address field, click the small folder icon at the right
- Browse to and select the FOLDER (dragdrop-activity) — not the file itself
- In the dialog:
- "Display in slide" — selected (don't pick "new browser window")
- Click OK
- A grey placeholder rectangle appears on the slide. Drag its corners to size and position it where you want the activity to show
You won't be able to view the interaction in the web object until you publish
https://share.articulate.com/i2cyT-u4hHgZUzGx7mnAW
- JoC6210 hours agoCommunity Member
That's so kind of you, thank you! I tried to publish it but it came up with this message. Any idea what I have done wrong?
Related Content
- 11 months ago
- 1 year ago
- 1 year ago