Bookmarking in HTML

There is a simple way of recreating bookmarking with Lectora actions. Make the course like you would with any other LMS connected course with AU and everything. Create a variable called something like: CurrentPageLocation. Then create an external HTML script that is "Header Scripting" and do something like this:


myPage=location.href;

slashloc=location.href.lastIndexOf("/");

locURL=myPage.slice(slashloc+1);

Varcurrentpagelocation.setByVar(Vcurrentpagelocation);

Varcurrentpagelocation.set(locURL);


 

Next, on the opening page, create a group and some actions that will prompt the user to return to thier page or if they want to start from the beginning and then use the location that is saved in the CurrentPageLocation.

Discussions have been disabled for this post