Forum Discussion
Trigger to Show Base Layer
Hey community,
I have a tabs slide where the tabs show different layers. One of those tabs is "Main", which is the Base Layer of the slide. The problem I'm having is, I can't find a way to put a trigger on that "Main" tab that either a)hides all layers or b)jumps back to the base layer. I need the user to be able to go back to the base layer once they are on any of the sub-layers.
The workaround I usually would do is put a trigger on that "Main" tab that tells it to jump to that slide, which would bring it back to the base layer. That's not working though, and actually wouldn't work in this situation because there are states on these tabs to show when one of the tabs has been visited. So if the "Main" tab reopened the slide instead of jumping back to the base layer, the rest of the tabs would reset and the user wouldn't know which tabs they have already gone to.
I hope this makes sense...
Thanks,
Mike
24 Replies
- WaltHamiltonSuper Hero
You could put a tab on each layer that looks like the main tab. Set its trigger to close this layer. That works if you only have one layer open at a time. if you allow more than one layer at a time to be open, then you will need a trigger for each layers to close it.
- MikeMyers-f2ed9Community Member
of course! Why didn't I think of that...
Thanks,
Mike
Glad you were able to get the assistance that you needed here Mike :)
- MikeMyers-f2ed9Community Member
I'm actually still have a small issue with this solution. To do this I copy the "Main" tab and paste it on the sublayers, to ensure that it is in the exact same spot and the exact same size. For some reason when I do this, it alters the font size of the text "main". As you know, any small change in size or position of these tabs takes away from the experience of a functioning tab interaction. I'm not sure if what's going on with that, but will give it another look tonight. If you know what might be causing that issue, I'd love to hear your thoughts.
Thanks,
Mike
- WaltHamiltonSuper Hero
Another option is to draw an image on the layer that is the same size and shape with no border as the tab. The trick is to fill it with a color and then set the transparency to 99% so it is invisible, and lets the base layer tab show through. It has to have a fill, because if it has no fill, the base shows through, but it won't register clicks.
- MikeMyers-f2ed9Community Member
That's a great solution, Walt! Thanks! Again, can't believe I didn't think of that. Onward.
Walt is fast! Thanks again.
Glad that was able to assist you Mike :)
- NormaMiller-baaCommunity Member
This may be a related issue. I have a matching drag and drop interaction that allows 2 attempts, and I have created custom Correct, Incorrect, and Try Again layers. I set the option on the base layer to reset to initial state when revisited.
I put a Continue button on the Try Again layer that I want to take the learner back to the base layer of the same slide, but I can't get it to work. I would swear I have done this in the past -- but maybe it wasn't for a quiz slide.
In the attached Storyline 1 file, Slide 1 shows the built-in layers, and Slide 2 is the one I customized. The only difference I can see between the setup of the two slides is that I added an "answer" layer which has the triggers that would have been on the Incorrect layer.
In my full course, I tried having that Continue button jump to a different slide, and that worked. So, why won't it jump to the same slide?
- WaltHamiltonSuper Hero
This is what happened when I tried it in SL2, and I think it is what you want.
Maybe it is time to close and restart SL?
- NormaMiller-baaCommunity Member
Thanks for the quick reply, Walt! Yes, that's what I want to happen - although it would be nice if it also pulled the pieces back apart instead of showing them still locked together. I thought that's what "reset to initial state" would have done.
However, even after closing my file and restarting Storyline 1, this does not work. When I click Continue on the Try Again layer, nothing happens.
Maybe I'll see if I can get a variable to do the job. Thanks again.
- WaltHamiltonSuper Hero
Bingo, you got it!!
When I imported to SL2, it reset that slide to automatic choice. When I changed it to reset to initial state, it quit working.
I put a blank slide in front of it, with the trigger to jump to next when timeline starts. Then I changed the button on the Try Again slide to jump to that new slide. It advances to the quiz so fast you don't even see it, but the quiz is reset.
- NormaMiller-baaCommunity Member
Hmmm.... I will give that a try. I also tried splitting the question into 2 slides and that looked like it was going to work, but then the trigger to display the answer didn't work. I can't seem to win with this one!
But I am going to try this "blank slide" idea and we'll see. Thanks once again for your diligence in helping me solve this one. I'll let you know what happens.
Related Content
- 9 months ago
- 9 months ago