Disable back button on first slide in carousel

newbie-question

#1

I’ve just started messing around with the “Add Condition” editor and am having trouble with a condition I’m trying to meet.

I’m creating a carousel that when the previous slide equals the first slide, to disable the back button.

I would also like to disable the next button on the last slide as well.

I’m using the Carousel tutorial off the site as a starting point.


#2

Hi aruffo3,

It sounds like you would like for the back button to be disabled when you reach the first slide, and the next button to be disabled at the last slide. To handle this, you can use the dynamic panel’s OnPanelStateChange action to disable the buttons when the panel is changed to a specific state. Here’s an example that would disable a button when the panel is switched to state 1:

Hopefully that helps!


#3

Perfect!

I had hoped there wold be some variable or function that would accomplish this.

Learning more and more about the abilities of this program. Thank you so very much for your help.


unlisted #4

closed #5