Forum Discussion

dakotajthomas's avatar
dakotajthomas
Community Member
2 years ago

Scroll Button Triggers

Hello!

I built this scroll button interaction so that they can scroll through the pages of a document and hover to see an explanation. (I haven't added the descriptions for the explanation yet.) My buttons aren't working as they're supposed to, and I can't seem to figure it out. 

I hope it's a simple fix, but I've been at it for a while...

Any and all help is greatly appreciated! :)

tldr; I'd like the learner to be able to scroll back and forth between pages, but I can't get my variables and triggers to work correctly.

  • Nedim's avatar
    Nedim
    Community Member

    Hi,

    I think I fixed it. Retest, please. There were a few changes in trigger conditions, the states of the buttons based on the ScrollButtons variable, and adjusting the value of the ScrollButtons variable when a value of 1 is added or substracted from the ScrollButtons variable when the buttons are clicked. See the attached story.  

    • dakotajthomas's avatar
      dakotajthomas
      Community Member

      Hi there!

      Thank you so much, this works marvelously! I had previously built something like this, but I must have really messed up something this time.

      Thanks again! I appreciate it!