Lectora - Slider
June 28, 2021 12:00 AM
Hi,
Why is my slider not working as desired.
Regards
Malvika
Discussion (3)
It looks like you want the slider's circle shape to move when the user clicks on it. Then the next time the user clicks it would move to the next year, etc.
One way you could control this is by using a variable and having the actions run conditionally.
Add a user variable and set it to zero in an action on the Timeline Page -> On Show -> Modify Variable -> MyVar1 -> Set to 0
Then under the Slider2 object add an action -> OnMClick -> Modify Variable -> MyVar1 -> Add 1
Then on the appropriate actions add a condition such as:
OnMClkMoveTo -> Conditions -> MyVar1 is equal to 1
OnMClkShow -> Conditions -> MyVar1 is equal to 1
OnMClkMoveTo -> Conditions -> MyVar1 is equal to 2
OnMClkShow -> Conditions -> MyVar1 is equal to 2
That is one way to accomplish it!
@wheels - This worked perfectly. Thank you.