Forum Discussion
MaryLain
12 years agoCommunity Member
Variables and Layers
Hello everyone! I am working on a page with 6 layers (base layer + other 5 layers).
I need to set a rule that allows the user to click the next button *ONLY* if he opened all the layers.
Next...
BrianAllen
12 years agoCommunity Member
Similar question in another thread, and similar solutions provided.
Using the "visited" state of the buttons is definitely an option.
If you wanted to use variables, just create a variable (default value of False) for each layer that needs to be viewed. Add a trigger to each layer that sets the value of that layer's variable to True.
Add conditions to the trigger of your next button that all variables have to equal True before the user can go to the next slide.
Additionally, using either method, it would be nice to add a layer that would display if the user has not viewed all of the slides, letting them know that they need to before they move on.
AndrewMugera-08
6 years agoCommunity Member
So so perfect. Thanks Brian Allen. Was super easy to set variables after reading this.
Related Content
- 12 months ago
- 10 months ago
- 12 months ago
- 12 months ago