Exit elearning Javascript

Oct 02, 2019

Hi all,

I am developing a module that will be launched directly from a mobile app using web publishing. I am trying to work out a way for the learner to exit the elearning and get back to the app.

Due to the quirks of the built in exit trigger (see here), I'm trying to use the following code to take the learner back to the app instead:

function navBack() {

        window.location.href = document.referrer;

}

But it is refusing to do anything... 

Any ideas?

Len 

 

1 Reply

This discussion is closed. You can start a new discussion or contact Articulate Support.