Forum Discussion

JulieTaylor-3a8's avatar
JulieTaylor-3a8
Community Member
2 months ago

Reset timeline to start

I want the user to be able to click a button that will reset the slide or layer to the beginning of the timeline and start playing. I added a JavaScript code location.reload(); to the button on each ...
  • Nedim's avatar
    2 months ago

    The location.reload() function in JavaScript is used to reload the entire web page, which in your case would be the Review 360 page, not just a single slide, as it might appear during Preview. If you want to reset the timeline, you can achieve that with the "Jump to Slide" trigger in Storyline. Set up a trigger that jumps to "this" slide when the user clicks a button.