Forum Discussion

SimoneSchimitt's avatar
SimoneSchimitt
Community Member
2 years ago

Using slider to show layers

Hi everyone

I'm struggling in getting the slider set to show some layers. I've watched a simple tutorial ( for a decade ago) just to have an idea. But still, I couldn't make a bingo. 

The layers appear out of order, if I change the numbers of initial, end, start points everything becomes a mess... I really need to figure out how to solve this. 

It' lol be a blessing if someone help me out. 

  • Hi Simone,

    Welcome to the E-Learning Heroes community!

    I'm so sorry to hear that you're running into this issue and understand how frustrating it can be when the course isn't working intended. I'd be happy to take a closer look at your file to troubleshoot further. You can upload it here or share it privately in a support case. We'll delete it from our systems once troubleshooting is complete!

  • When you insert a slider, the program automatically creates an associated number variable (for example, "Slider1"). The value of that number variable can be used in triggers.

    • When you change the Start and/or End properties of a slider, that changes the range of numbers the slide will use for the value of the variable.
    • When you change the Initial property, that changes the default value of the variable (that is, the number it holds before the slider is moved). 
    • When you change the Step property, that changes the increments used within the range of numbers of the variable. 
    • Thus, when you change any of those properties, triggers with conditions based on the variable's value would need to be edited accordingly. 

    A slider and its variable can be quite useful for demonstrating what happens within a range, such what happens when a thermometer or other gauge moves up or down.

    However, you can't force a user to stop at each designated step in a slider. I think that makes them a poor tool for displaying layers. Sure, it can be done by showing a layer based on the value of the slider variable. But if the user moves the slider fast, they won't see the content. And the program could mess up trying to show and hide layers too quickly. 

    I suggest you used discrete buttons to show the layers instead.

  • Hi Judy thanks a lot for your explanation. This gave me some other ideas. But I really wanted to try using this way, since this is part of a very intro part of the content. I did it!! Using a different logic, but worked. I choose the condition "not equal to to 8 and 10 and done.

    I'm terrible with logic.