Forum Discussion
Hide Next button until all layers viewed/visited
I know how to hide the Next navigation button until a certain logic is satisfied. For example if a number of buttons are selected (all or any). But I need to hide the Next button until all layers of a slide are viewed. Anybody know of a way to do this?
44 Replies
Hey, Marco!
Instead of hotspots, try using shapes or buttons. That way you can add a Visited state to those objects.
The sample file I shared here is a good place to start. Check out that file and let me know if you have questions about it!
- MarcoLaraCommunity Member
Hi Alyssa, thanks for the answer. The thing is that i cant use buttons or shapes, because its an animated gif with many graphics where you need to click some áreas to show layers.
Hi Marco. Thanks for clarifying. If you can't use transparent shapes, could you adjust one or more variables when clicking the hotspot? You can have the Next button change to the Normal state when the variable changes with a condition about the variable value. Number variables work well here, increasing with each hotspot being clicked.
- MarcoLaraCommunity Member
Hi Crystal, Thanks for take the time to answer.
Yes im almost there, i add a variable for each layer in the main slide "equal to true when user clicks each hotspot" but i dont know how to apply the action of the variable to turn next button normal.
Thanks in advance for your support.
Hi Marco!
You're almost there! You just need a few more triggers. Check out the changes I made in your file, and let me know if you have any questions about it. I'm here to help!
- MarcoLaraCommunity Member
Thanks a lot for your help Alyssa. Now its working fine, thanks for taking the time!
That's wonderful, Marco! Thanks for the update. 😊
- LaurenBergman-0Community Member
Hi,
I'm wondering if someone could help me with a similar issue. I was able to get the Next button to appear in some instances, but it shows on the layer, rather than the base slide. And when the user comes back to the base slide, the Next button is set back to disable, even though the buttons are marked as Visited.
Would anyone happen to have any suggestions?
- WaltHamiltonSuper Hero
Attach your .story file here, and someone will take a look at it.
- iouliaKornbe475Community Member
Alyssa, I was just looking for the same thing since I'm working with hotspots - I used your file and was able to mimic and fix mine. Thank you!!!
- KarenHawkesCommunity Member
thanks for the story file however I am still having issue on the "Next" button not appearing when all the hotspots for each layers have clicked.
I have based what i have done from your file.
VARIABLES:
o1 default value = False
... so on until o6 default value = False
TRIGGERS:
Change state of Next button to Hidden when Timeline Starts on this slide
Hotspot 1
set o1 to value True when user clicks hotspot1
show layer Apple when user clicks hotspot1
Hotspot 2
set o2 to value True when user clicks hotspot2
show later Ball when user clicks hotspot2
... so on until Hotspot 6 (o6)
o1
change state of Next button to Normal when o1 changes
if o1 = value True and o2 = True and ..... so on until o6 = True
... so on until o6
Related Content
- 10 months ago
- 1 month ago