Forum Discussion
Does anyone know of a way to change the "next" button to an "end" button at the end of a story?
Hello!
I'm trying to find a way to change the "next" button in Articulate Storyline 2 to an "end" button at the end of the presentation that would take the users out of the story...does anyone know if this is possible, and if it is, how you might go about doing it?
Thanks!
- BryanMendelson-Community Member
You can actually change this text by using the following JavaScript. All you would need to do is assign a trigger, execute JavaScript when the timeline ends. Replace "REPLACE-ME" with your own text. I can validate that it works in SL3.
NEXT BUTTON
var button_next = $('.slide-control-button-next .text').text()
$('.slide-control-button-next .text').text("REPLACE-ME")
$('.slide-control-button-next').click(function(){
$('.slide-control-button-next .text').text(button_next)
})
PREVIOUS BUTTON
var button_prev = $('.slide-control-button-previous .text').text()
$('.slide-control-button-previous .text').text("REPLACE-ME")
$('.slide-control-button-previous').click(function(){
$('.slide-control-button-previous .text').text(button_prev)
})- AndrewRomanykCommunity Member
Wow, this is awesome Bryan. Thanks for sharing!
- SaymaraRamosCommunity Member
Thank you so much Bryan! It was very helpful!
- MultiversityDevCommunity Member
Can you help me to do this for Storyline 360. I want to change color of next button when timeline ends. I'm using storyline 360 modern player. Please help me.
Hi!
I'm not sure Bryan is still subscribed to this discussion. To contact him directly, you'll want to use the "Contact Me" button in his ELH profile!
- NancyWoinoskiSuper Hero
Hi Sara, you can change the text labels on the buttons by going to Player clicking on Text labels and then changing the custom text for the button. The only problem with this is that it changes every instance of the name so you can't have it say next on one slide and then end on another slide - but there is a trick you can do provided you are not using the submit button in your course.
If you are not using the submit button, you can change its name to say end and then change the trigger to exit course when the user clicks the button. If you do this make sure you hide the next button on the slide.
Hi Sara! Looks like you are getting some great assistance here, just let us know if you need anything further.
- PattiBryantCommunity Member
Hi Sara!
Are you using the built-in player with prev/next buttons? If so, I'd simply remove the next button on the last slide. Then, create your own button that says 'Exit' and assign the trigger 'Exit Course' to the button.
I hope this helps!
Keepin' the joy,
Patti Looks like Nancy has you covered here Sara. We have a tutorial here as well if you'd like to take a look.
- SaraMcCartneyCommunity Member
This is great information! Does anyone know how to change the name of the "Submit" button? Thanks again for all your help, I'm new to Storyline!
- NancyWoinoskiSuper Hero
Hi Sara - to change the name of the submit button click the Player icon and then click the Text Label link - you will see a table that contains a list of all the Storyline buttons and messages. Go down to item 98 - Submit button and change the custom text for the button to whatever you want it to say. Then click Ok.
- SaraMcCartneyCommunity Member
Thank you everyone! This was extremely helpful!
Glad to hear it Sara. Thanks for the update.
- Rose-SparksCommunity Member
This was very helpful! I've had the same questions for a couple of months now.
- ChristiePollickCommunity Member
Hi, Rose -- thanks for chiming in, and we're delighted to hear this thread provided the assistance you needed, as well! :)