Forum Discussion
SaraMcCartney
10 years agoCommunity Member
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 kno...
BarMazuz
5 months agoCommunity Member
Try the following JS:
- Change the NEXT text button to some other text like “skip”:
function changeNextToSkip() { let buttons = document.querySelectorAll('button'); buttons.forEach(button => { if (button.textContent.trim().toUpperCase() === 'NEXT') { button.innerHTML = button.innerHTML.replace('NEXT', 'SKIP'); } }); } changeNextToSkip();
Change back to the usual NEXT:
function changeSkipToNext() { let buttons = document.querySelectorAll('button'); buttons.forEach(button => { if (button.textContent.trim().toUpperCase() === 'SKIP') { button.innerHTML = button.innerHTML.replace('SKIP', 'NEXT'); } }); } changeSkipToNext();