A Refresh-Screen Button?
February 21, 2013 12:00 AM
Is it possible to have a button, which can refresh the current screen/page? I tried putting an Action on a single button, that would Go-To-Current-Page but this did not work. I want the page itself to restart from the beginning, as tho it would look when first entering.
Discussion (4)
hello,
Add to the button:
action: goto
target: web Address
web Address:javascript:history.go();
Adriana
@adriana 49053 wrote:
hello,
Add to the button:
action: goto
target: web Address
web Address:javascript:history.go();
Adriana
In new Lectora you can use Execute Javascript action. Put the "history.go()" in the action text box.
This post has been around for a while but I am having some issues with it.
The soultutions above seem to work fine for HTML. However when the course is running off of a LMS (In this case, CSoD), and the course is opening in it's own window, both soultuins above make the window flicker, show for a second, and then close. Not sure if this is because of some frameset issue? For example, in a scorm course if you hit F5 it doesn't refresh the page, it starts you back as if you just launched the course.
undefined
Thanks
The best way is to create an empty page at the end of your title that only contains one action:
On: Show
Action: Go to
Target: Last visited page
Then make the refresh button go to that page.
Discussions have been disabled for this post