Forum Discussion
Set slide as visited if a button is clicked
Technically, if a slide is skipped, you can use JavaScript to add a checkmark in the menu to visually indicate that the slide has been visited or viewed. However, this will not be reflected in the "Menu.SlidesViewed" and Project.SlidesViewed built-in Storyline variables. I'd suggest creating a custom variable (e.g., skipped = False
) with two buttons (e.g., Skip and Next). If the learner presses 'Skip,' set skipped
to True
and jump to the next slide. On the next slide, create a trigger: 'Jump to next slide when the timeline starts on this slide if skipped
is True.' This way, the learner will navigate to the 'skipped' slide but will immediately jump to the next slide if 'Skip' was pressed on the previous slide. This approach ensures that the 'skipped' slide's 'viewed' status will be reflected in the menu and properly accounted for in the Menu.SlidesViewed
and Project.SlidesViewed
built-in Storyline variables.