First time trying to use the slider function. I want to have 5 states so when user moves slider a new text box displays with different content. Help is appreciated. Thanks
This is very easy to do. There is a variable attached to each slider. You can use the changing value of the variable to display states of an object. See attached a quick example. You could also put your text on layers instead and call the layers as the variable changes. See here for some examples of more advanced sliders: http://dev.keypointlearn.com/xcl73_SL2/Sliders/V1/story.html
Glad to hear that this worked for you. The built-in states have a defined function and this does not always work as expected in a custom set up. You can read more about the built-in states here.
I have created a slider with 18 layers and I would like to put the numbers of each layer along the slider. How would you add text so that it lines up at each point that the layer appears? I could add a text box but I am unsure where each layer pops up unless I preview it. Any help would be appreciated.
Thanks for the quick response! I finally figured that out and I have the slider and thumb set to start at 0 and end at 2. I have 3 states for the textbox: normal, 1 and 2. My triggers say to change to state 2 when the slider == 2 and change to state 3 when slider == 3.
But it's acting weird - the first increment (to step 1) doesn't change the state of the textbox, only the second and third increments do. And when I go back to the top of the slider it stays at position #1, it doesn't show the 0 position.
Leslie, I have a dumb question now -- I want to reuse my slider on a new slide so I copied and pasted it there, but can't get the new textbox to link to my slider. I dragged the textbox onto the slider, but they don't pair. I can't seem to group them, either. Thanks for any help!
Sarah, when you pasted your slider, it created a new version of it and automatically linked it to a different variable. You just need to change the triggers on the textbox to refer to the new variable.
the new slider will have a different variable = e,g slider2 which you'll need to use in triggers on the new slide. Highlight the slider then click the Design Tab (closest to Format) and look in the top left corner where the variable should be referenced.
There are no dumb questions Sarah, but I'm glad that Walt and Wendy were able to pop in and help you out here :) It's all learning...and I know I'm doing it everyday!
20 Replies
This is very easy to do. There is a variable attached to each slider. You can use the changing value of the variable to display states of an object. See attached a quick example. You could also put your text on layers instead and call the layers as the variable changes. See here for some examples of more advanced sliders: http://dev.keypointlearn.com/xcl73_SL2/Sliders/V1/story.html
thanks. I thought about using layers. I'll give it a try.
Hello Will!
Welcome to the community! Looks like Michael got you in the right direction. let us know if you need anything further.
Yes he did, but my issue is where can I edit text in slider positions 2, 3, 4 and 5? The text for first position is not a problem.
@Will, in my example, I had added custom states to the text box. You can edit those from the States tab.
Hello Will!
As Michael stated, you can edit the text from within the States tab. I was able to open and edit them as well.
I tried to do this with hidden and normal states but it didn't work. Changed the states to custom ones and it worked fine.
Can anyone help me understand why this happened?
Hi Katherine!
Glad to hear that this worked for you. The built-in states have a defined function and this does not always work as expected in a custom set up. You can read more about the built-in states here.
Hi there,
I have created a slider with 18 layers and I would like to put the numbers of each layer along the slider. How would you add text so that it lines up at each point that the layer appears? I could add a text box but I am unsure where each layer pops up unless I preview it. Any help would be appreciated.
Felicity
Hi Felicity! Did you know that you can turn on a "dimmed layer" while you're still working in your base layer?
How do you set the slider steps to the text box custom states? It seems like this must be in the documentation / tutorials but I can't find anything.
Use triggers like this:
Change state of Textbox1 to Cow when variable Slider1 changes if Slider1 = 1
Change state of Textbox1 to Horse when variable Slider1 changes if Slider1 = 2
Thanks for the quick response! I finally figured that out and I have the slider and thumb set to start at 0 and end at 2. I have 3 states for the textbox: normal, 1 and 2. My triggers say to change to state 2 when the slider == 2 and change to state 3 when slider == 3.
But it's acting weird - the first increment (to step 1) doesn't change the state of the textbox, only the second and third increments do. And when I go back to the top of the slider it stays at position #1, it doesn't show the 0 position.
Okay, I just needed another trigger to set it back to the 0 position. Thanks again for the help!
Glad that you were able to get this sorted Sarah and thanks for chiming back in with an update :)
Leslie, I have a dumb question now -- I want to reuse my slider on a new slide so I copied and pasted it there, but can't get the new textbox to link to my slider. I dragged the textbox onto the slider, but they don't pair. I can't seem to group them, either. Thanks for any help!
Sarah, when you pasted your slider, it created a new version of it and automatically linked it to a different variable. You just need to change the triggers on the textbox to refer to the new variable.
Sarah
the new slider will have a different variable = e,g slider2 which you'll need to use in triggers on the new slide. Highlight the slider then click the Design Tab (closest to Format) and look in the top left corner where the variable should be referenced.
Thank you Walt and Wendy! I feel like a dunce, since it seems so obvious now : }
There are no dumb questions Sarah, but I'm glad that Walt and Wendy were able to pop in and help you out here :) It's all learning...and I know I'm doing it everyday!
This discussion is closed. You can start a new discussion or contact Articulate Support.