Forum Discussion
Web object navigation and storyline 360
Hey everyone,
I've recently put together a sample project in Storyline featuring four slides. On the final slide, there's a web object embedded, housing four buttons. The primary button, labeled "Home," needs to redirect users back to slide 2 within the Storyline presentation. As for the other buttons, they're designed to display their corresponding content within the web object. I'd appreciate any suggestions on how to make this navigation setup work seamlessly. Thanks in advance for your insights!
- AlexMilyaev-f86Community Member
To navigate to the desired slide when clicking a button in a web object, the easiest way is to pass the value of the variable from the web object to Storyline. In Storyline, set up a trigger that, upon the variable's value changing, it should transition to a specific slide.
- AlexMilyaev-f86Community Member
Here is the code that passes the variable value from the web object to Storyline.
window.parent.GetPlayer().SetVar("storyvar", jsvar);In Storyline, you can set a trigger so that when the 'storyvar' variable changes and its value equals 2, you should go to slide number 2.