Forum Discussion

  • Hi MalvikaMalho044  JWroblewska will certainly reply, but it's quite simple. The marker on the base layer is just used as a button (no title, no description, no outline) to display a layer with a quiz. The marker has two additional states: OK (green color) and KO (red color). On the quiz layer, if you answer correctly, a trigger changes the marker's state to “OK”, and if you answer incorrectly, a second trigger changes the marker's state to “KO”. And that's it!

  • Sorry for the late reply MalvikaMalho044 : I didn't see the question you asked (use @Thierry... next time). As I said, I don't think there's a quiz “inside” the marker (it's not possible). The marker is just used as a button to do something else: call up a quiz. I reworked your file very quickly. Here are two ways (among a dozen) of providing a quiz by imitating the JWroblewska demo with the use of markers (or any other button): on a layer as I suggested, or on a separate slide, which you can multiply. I hope this helps you understand the trick!

  • Nedim's avatar
    Nedim
    Community Member

    You could potentially achieve this by placing a marker (or multiple markers if you prefer not to manage single marker states) on a question slide and linking the marker content to the answer choices using triggers. However, I’m not sure if it’s worth the effort, as further customization would heavily rely on JavaScript. While links within the marker content cannot display different states, you could enhance visualization by presenting selected choices separately or off to the side. There’s room for experimentation, but it’s important to consider whether this approach genuinely adds value to the interaction.

    • ThierryEMMANUEL's avatar
      ThierryEMMANUEL
      Community Member

      👏In any case, it's a very elegant and clever solution Nedim . For the moment, I can't reproduce it - it's a real enigma.🤪 I'm afraid it would be very (too?) complicated to satisfy Malvika's request, as you suggest.

  • Nedim's avatar
    Nedim
    Community Member

    Thanks Thierry. I've attached a .story file for reference. The setup essentially combines a multiple-choice question in the background with marker content linked to triggers. These triggers set the selected state of the radio buttons and update the user selection. Based on the selection, the answer variable is also updated. The issue I encountered with this approach was the inability to submit the interaction directly from inside the marker. Using the 'Submit Interaction' trigger when the user clicks Submit did not work as expected. To resolve this, I implemented JavaScript to target the Submit button and simulate a click() event, ensuring the interaction could be submitted properly. Now that I think about it, I can see myself using this approach occasionally just to try something different. With a bit more customization and a redesign of the feedback layers, this could actually look quite polished and effective. The only thing that still bothers me is the inability to apply different hyperlink styles other than the default. It would be great if the links inside the marker could have a distinct look and feel.

    • ThierryEMMANUEL's avatar
      ThierryEMMANUEL
      Community Member

      I hadn't seen your answer either, Nedim  Thank you very much, I will study this with great interest... tomorrow. 😃