Forum Discussion

JeniJohnson-6e1's avatar
JeniJohnson-6e1
Community Member
2 days ago

Help recreating a drop down

Hello all, 

I found this great drop-down fill-in-the-blank example on here a while back, but I don't remember who posted it. 

I'm trying to recreate a similar activity, but I don't really know enough about SL triggers and variables to work backward to figure out how this was made. 

I would appreciate it if someone could explain it to me in detail. 

Thanks! 

  • JHauglie's avatar
    JHauglie
    Community Member

    After looking at your file, what I conclude is that you are wanting this type of behavior:

    And so you need to create the interaction that shows the corresponding feedback (from slide 2) when the learner selects the initial term (from slide 1).

    Currently, you are using states on the dropdown terms. I think you are better off using variables and layers to accomplish what you want.

    I would suggest that you create a variable (select01, select02, select03 - for example) that is associated with each of the terms. Make these variables "T/F" and set them to "False" at the start of the timeline. Then set them to flip to "True" when the corresponding term is selected, then show the feedback - but from a layer, not a new slide - based on the value of that variable ("Show LayerX if variable "select01" = True"). Then add some action (a close button?) to hide the layer and return to the base layer. To keep this interaction functional, I would also set the same variable to "False" when the user clicks that close button. That way, the user can open and close the definitions or feedback as often as he or she wants.

    So selecting "analyze" would trigger the layer "FeedbackOption01" to show, and the learner can close the layer by selecting a "return" button (you need to add that) or by some other intentional action you decide to include.

    Hope this helps get you on the correct path -