Show/hide layer when multiple checkboxes are ticked/unticked
Feb 07, 2018
Dear team,
I'm building my first training but I'm stuck. I'm trying to show one of three layers (which just contain a sentence each) when users click on a checkbox. This is easy to do, as I put three checkboxes, plus three triggers in the base layer. The problem is that when I click the first checkbox, I correctly see the first layer.
When I click on the second checkbox, the second layer appears, but the previous one disappears. As a workaround, I was copying the text from Layer 1 and pasted it in layer 2, so that when I tick the second box, the content from the first box is still there. Same for box 3: I copied and pasted the content of layer 1 and 2 in layer 3 so that they remain there.
Expected behavior: what I want is that when checkboxes are ticked, the content always needs to show, same if I untick a box, the content has to disappear, no matter in which layer I'm in.
Can you please help me out? Please find some screenshots of the course in the attachments.
13 Replies
Hi Alberto,
It's likely that you have your layers configured to hide all other layers (that's what it is by default). You can adjust this setting by going into the layer properties. This article has more information.
Cheers,
Allison
This segment is part of a larger project. I have extracted only this segment for our convenience. However, this problem is true for all other segments as well.
I have a main menu page which branches off to 8 pages. You can get to each page by clicking a button.
Each page has different buttons triggered to reveal different layers. However, sometimes even when I click on each button, nothing is revealed. So technically the button does not work. Most of the time, it works great the first time, but does not work the second time. For some other clipboards holding more than 4 items, often the last two or the first two items on a clipboard does not work. Here is the main storyline file as well as the desciption of the problem.
Many thanks,
IS
I clicked the first 4 yellow buttons on the menu slide, and the lightbox was revealed every time. I clicked on all of the buttons in the lightbox, and the layer was revealed each time. I visited Cedar Planks 3 times, and all of the buttons worked every time.
I wonder if it might be time to re-install SL.
Hi Walt,
Thank you for your prompt response. Yes, I agree the Cedar Plank works well, However, for other items such as 'Scallop Casserole' it does not work. Either the first two items or the last two items on the clipboard does not work. I am stumped. I have never seen this problem.
Regarding reinstallation of SL2, as I got a new laptop, I had to reinstall SL2 last week. Thanks again for your efforts and time. I hope this problem can be resolved. Just do not know how :(
Thanks again!
Hi Indrani
Like Walt I can't see any issue and I've been through it a couple of times.
Here is a Peek of Scallop Casserole and Fried Scallop in preview (so not checking web objects).
Perhaps you can upload a video of what is happening for you.
Have you published and uploaded to a webserver or LMS (however the user will see the module) and tested there?
Hello Wendy,
Couple of things are happening from my end. I uploaded this project onto our LMA. First the good news:
Any help/insight will be fantastic. Just to let you know that I opened a support ticket as well.
Thank you so much.
Best
IS
Thanks for opening a case, Indrani! That's a smart idea for issues like this one.
I see you uploaded two copies of a Word document called "Description of the Problem," but I'm not seeing your original, unpublished Storyline project.
Would you mind sharing your Storyline file with us by clicking here?
Thank you so much. I will do so.
Just did. With appreciation,
Indrani
Hi
just getting back into SL2 - any tech follow up on this?
I’m having a challenge with Safari browser playing story.html or the html5 file, so would be interested in any pointers
Hi Leslie!
It sounds like you've published your Storyline 2 content, and now you're trying to play it on Safari, is that right?
Before you play it, you'll want to host it either on a web server or a LMS to ensure it's working correctly, since playing it from your local drive can cause your content to fail.
Try hosting it on Tempshare (for Web) or SCORM Cloud (for LMS), and then test the link in Safari. Let me know if that helps you!
Sorry for the delay - I’ve been waiting to justify SL3 - just received and will install.
previous problem was due to running with a local published version, uploaded to host and most things worked fine - my triggering logic was a little rusty! 😔
Glad to hear you got it sorted out, Leslie! Thanks for following up. 😁
This discussion is closed. You can start a new discussion or contact Articulate Support.