Slider Interactions
Mar 13, 2017
By
Steven Haigh
Morning all
I am trying to build an index for a project that I am working on and due to the amount of different sections are I thought that it would be a good idea to have the index as a slider.
I want the topic to highlight when the slider points to it, so I have created a state to change the appearance of the wording as the as the slider points at it.
Is their an easier was to get it to change back to the 'Normal' state without having to set up a new trigger to tell is to go back to normal when the slider is not equal to the text box?
Not sure if any of that makes sense?
3 Replies
Hi Steven! Are you able to share your file? It may be easier for me to help if I can see how you've got everything set up. Thanks! :)
Hi Allison
I am not sure how to attach the interaction? Can you tell me how to?
I have added 2 triggers per slider point, one to change the state when the slider is equal to the number and one to change it back when the slider is no longer equal.
This works, just a bit long winded.
Hi Steven,
A quick way to reduce the triggers in your project is to have the "slider" state of each element be a "selected" state. Then you can add all of the text elements to a button set. This will automatically allow only one item to be selected at a time, thereby forcing all other elements back to the normal state when another is selected.
I've attached a sample file for you. Hope that helps!
This discussion is closed. You can start a new discussion or contact Articulate Support.