Hi, I am trying to link to a layer from text within a button state of visited. Is that possible? I add the text to the button state of visited but when I try to add a show layer trigger to the selected text I only see unassigned or insert a new layer. I attached a screenshot to help describe what I am trying to do. I appreciate any help with this.
Hi Wendy, yes they are on the same slide. But the issue is I am using the button states to do a click to reveal text. The client wants a word in that text box to show a pop up definition.
Hi Wendy, the issue is not getting the button state of visited to display the text. It is can I link to a layer from within that text that is displayed. I attached a sample of what I am trying to do. When the user clicks on the button the visited state displays the text. The bold lettered works in that text need to link to the two respective layers with their definitions. I hope that makes sense.
Hey there Russell! You won't be able to reliably add triggers to the elements added to an object as a result of a state change. So I have two suggested workarounds for you.
Option A (sample attached): Add a transparent shape to the slide where those vocab terms appear. I mean that you should add it to the slide itself, on the timeline, and not to the visited state of your button. You'll need to literally put your finger on the screen where that term is when you're viewing the visited state of your button so that when you add the shape, you'll know where to put it. Set the initial state of your shape to hidden, and add a trigger to change the state of that shape to normal when the user clicks the button. That way, when your user clicks on the vocab term, they'll really be clicking on the shape. Then add a trigger to the shape to show the layer!
Option B: Instead of adding that text to the visited state of the button, is it possible to create a layer that displays with the text while still showing the base layer? Then you can add triggers right to the text on the layer to jump to subsequent layers with the definitions.
I hope that gets you going in the right direction. I used this post for inspiration. :D
7 Replies
Hi Russell
is the layer you are trying to link to on the same slide as the button?
Hi Wendy, yes they are on the same slide. But the issue is I am using the button states to do a click to reveal text. The client wants a word in that text box to show a pop up definition.
Hi Russell
see if the attached might work for you. I created a Custom Visited state and deleted the built in one and added triggers to custom state.
Hi Wendy, the issue is not getting the button state of visited to display the text. It is can I link to a layer from within that text that is displayed. I attached a sample of what I am trying to do. When the user clicks on the button the visited state displays the text. The bold lettered works in that text need to link to the two respective layers with their definitions. I hope that makes sense.
Hey there Russell! You won't be able to reliably add triggers to the elements added to an object as a result of a state change. So I have two suggested workarounds for you.
Option A (sample attached): Add a transparent shape to the slide where those vocab terms appear. I mean that you should add it to the slide itself, on the timeline, and not to the visited state of your button. You'll need to literally put your finger on the screen where that term is when you're viewing the visited state of your button so that when you add the shape, you'll know where to put it. Set the initial state of your shape to hidden, and add a trigger to change the state of that shape to normal when the user clicks the button. That way, when your user clicks on the vocab term, they'll really be clicking on the shape. Then add a trigger to the shape to show the layer!
Option B: Instead of adding that text to the visited state of the button, is it possible to create a layer that displays with the text while still showing the base layer? Then you can add triggers right to the text on the layer to jump to subsequent layers with the definitions.
I hope that gets you going in the right direction. I used this post for inspiration. :D
Hi Crystal, Thanks for the reply. I went with Option B and the client approved. I appreciate the help.
Yay! Glad you got through it. Thanks for the update!
This discussion is closed. You can start a new discussion or contact Articulate Support.