Button Text - Cycling through button text
Mar 11, 2021
By
Brock Shears
Hi, I am pretty new to storyline. I have an idea to have the text on a button cycle through 6-8 languages. For example, the button text for the word "continue" cycles through english, italian, japanese, chinese, hindi or any language really. This would cycle until the button is interacted with.
I realise there is a potential to use javascript, however I want to see if there is a way to achieve this in storyline with a builtin function/method. BTW, I have cycled through dozens of tutorials trying to find one that gives me some guidance, no luck.
Thanks
3 Replies
Hi, Brk, and welcome to E-Learning Heroes! ✨
Here's a suggestion on using the timeline and timings to achieve something similar to what you want.
I am attaching a sample .story file with four buttons.
Let me know if this works!
Hi Maria, thank you for the welcome and the information. I have achieved the cycling of the button text in the attached example. I didn't give enough information in my first request I think. I don't need the individual text instances to lead to a different language option, clicking on the button at anytime would just take the user to the next single slide. (I am not sure how that fits with the setup you have in the example file)
I haven't found a way to do that in triggers. I initially tried to use layers to achieve the result but became lost in the options. I am actively following a few courses/tutorials and learning, but haven't worked this one out.
I have started the button timeline at 3 secs as the intent was to have a title graphic fly in at 1 sec. I didn't include that as part of the attached file.
Throwing this one back out there for any suggestions/solutions/possible or not.
Thank you
Hi, Brk.
Thank you for the details and for sharing your .story file!
What you're looking for can be done the same way as layers, but for slides instead. If you add a trigger to each button to Jump to the Next Slide when the user clicks the button, you can either have one slide for all languages to go to or separate slides for each language.
Another option is to create a variable that will let you use the language choice at some point during the course, not necessarily as soon as they click the button.
I recorded a short Peek 360 recording with that option, and I'm also attaching an edited version of your file.
Let me know if this works!