Forum Discussion
"Choose Your Own Adventure" Page Numbering
Hi HannahWright-70 I don't think there is a simple solution for you, with the navigation being dynamic and the page number not being consistent.
The only way to manage this would be to use JavaScript. If you have JS skills or have access to a JS programmer, the Storyline file would just need to track each slide it has been to (I think each slide has a unique ID), and then assign a page number to that slide (incrementing based on navigation), these slide IDs would be added to an array, for example:
userNavigation =
[
{
'slide-id': 'abcd123', 'slide-number' : 1
},
{
'slide-id': 'abcd456', 'slide-number' : 2
}
]
Each time a slide is navigate to, the userNavigation array could be queried to see if the slide-id already exists, if it does, it means the user has been there already and there will be a slide number to display, if not, it means it's a new slide, and the new slide will be added to userNavigation array, and the 'slide-number' incremented. This is a very basic description of the requirement, and there is some passing of data between Storyline and JS, but this is the only way I can see it being possible. I'm sure it cannot be completed using native Storyline triggers, and if it can, it will be hundreds of triggers and a nightmare to maintain.
- HannahWright-704 hours agoCommunity Member
Oooof, no JS skills here :(
My initial thought for a workaround would be to change the 'completion' to a trigger that appears on the last page of the course but that doesn't alleviate the confusion when students go back and forth and the numbers change.
- SamHill4 hours agoSuper Hero
Yes, agree with the completion. Just add to a slide you can guarantee cannot be accessed until you want the user to access it.