eLBX Online 2021 | June 22 - 24


Join us for a FREE, 3-day virtual conference featuring industry experts and eLearning thought leaders. Learn about critical topics such as eLearning accessibility, learning experience design, course authoring, virtual reality, and gamification. Register today!
CHECK IT OUT

Refresh/Reload button?

mcrawford1829
mcrawford1829 Community Member Posts: 3 ☆ Roadie ☆
I thought I saw this somewhere before, but I am at a loss to where. When publishing in Lectora 19 with Seamless Play checked, the JavaScript to reload the window doesn't work. Pretty sure this is a known bug in L19. Trying to see if there is a work around or a fix that I could be overlooking?

I have tried creating a blank page with a variable (OnPageShow GoTo Last Visited Page and Timed Interval with a delay of 1 second GoTo Last Visited Page) but with Seamless Play checked it takes me back 1 or 2 pages instead of the one I was just on?

Answers

  • wheels
    wheels Community Member, Administrator, Moderator, Rockstar Manager Posts: 553 eLearning ROCKSTAR Admin Team
    edited May 22, 2021
    I tried your approach with a blank page and one On Show Go to Last Visited Page, that worked for me.

    If you want a JavaScript solution to reload the page, here you go:
    getDisplayWindow().location.replace(window.location.href.split("#")[0]);
  • mcrawford1829
    mcrawford1829 Community Member Posts: 3 ☆ Roadie ☆
    Thank you for the response Wheels, not sure why I can't get the new blank page to work, but I had several ppl on my team try and they also were jumping back to far.

    The JavaScript you provided seems to work fine in Edge and Chrome but in Firefox the audio won't restart, the rest of the page reloads fine. :(
Sign In or Register to comment.

So You Wanna Be An eLearning ROCKSTAR?

We're all fans of eLearning here! Want to become an eLearning ROCKSTAR? Just click on one of the buttons below to start your rocking journey!