Hiding the Next Button with Triggers
Apr 24, 2018
Hello,
I'm looking for a little help as I have a slide with 3 images (with text on top) that link to different slides and I don't want the user to be able to continue until he/she has clicked on all of the images. Since the interaction wasn't working I figured it might be because the image and text are separate items and it depends where the user clicks. Therefore, I put 3 invisible rectangles on top of each image/text combo. Each invisible rectangle has a normal, hover and visited states. I have a trigger to change the state of the Next button to hidden when the timeline starts. I also have a trigger to change the state of the Next button to normal when the state of rectangle 1 and rectangle 2 and rectangle 3 are visited. On the base layer I have the option checked to resume saved state since the user navigates from this slide whenever a rectangle is clicked. However, once the user has clicked all 3 rectangles and the e-learning brings them back to the slide in question, the next button is not showing. I'm wondering why?
11 Replies
I think you problem is here, as it looks like you're setting it to hidden every time the slide starts. Add a rule that says it should only be hidden if the states are not all visited.
A better idea might be to set the next button initial state to Hidden instead of using the trigger above.
Regards,
Len
Hi Len,
I tried changing the triggers so that I just have one that says "Change the state of the next button to hidden when the timeline starts IF Rectangle 1 state is not equal to visited and rectangle 2 state is not equal to visited and rectangle 3 state is not equal to visited" along with 3 triggers (i.e.jump to X slide when the user clicks rectangle 1/2/3") while keeping 'resume saved state" on the base layer, but it's still not working.
I'm using the built-in player buttons. Is there a way to set the initial state of the next button to hidden other than the trigger I created to hide it at the start of the slide if the 3 rectangles are not visited?
Thank you,
Laura
You might consider to set three variables for each rectangle, respectively. That's what I did for my projects.
Set the default value to false. When clicked, it is changed to true. Then you want to set: Change the state of next button with conditions If all variables are true, then <next> button shows.
I hope it will help. Please let me know whether it works.
Yes, you can change the player button to hidden by adding a trigger:
Action: Change the sate of
on Object: "desired button"
To State: Hidden
When: Timeline Starts
Object: "your rectangle (or whatever you want).
Don't forget to create another trigger to change the state to "Normal" later.
Hi Li Li,
I thought of adding 3 variables (one for each rectangle that are originally set to false. Then these are my triggers but it's still not showing the next button when the 3 rectangles are clicked:
Did you set up the conditions? Please see the attachment from my project. It works for me.
Sorry I missed one trigger in the attachment, but explained in the earlier one. "Change state of the next button to Hidden when the timeline starts"
I think I got it with the triggers I sent by separating the "make variable true" options to the end of the respective sections the rectangles navigate to. Thank you everyone for the ideas and help!
I think it has been resolved. Thanks for the help everyone!
Glad it worked, Laura!
Thanks LI LI :)
This discussion is closed. You can start a new discussion or contact Articulate Support.