Return to last page visited

Nov 15, 2016

I wish to use variables to make my project creation a lot quicker. I wish to be able to reuse the code in every slide by saving the current location (page) into a variable then when the user navigates to another location (which may not be linear) the previous variable is saved to another variable eg ‘VarPrev’ so that I only need one button for back and it will always work. I think I only need two variables for this to work.

‘VarCurr’: To save current scene and page

‘VarPrev’: to hold the last page visited

I am sure someone has done this already; please point me in the right direction.

 

2 Replies
Richard Hill

I just built one for you.  You will need 2 triggers on each slide, and you will have to precount all the slides you will need and append a conditional trigger for each page onto the back button(so you can duplicate it as necessary).   There may be an easier Javascript solution, but I'm pretty certain this is as easy as it will get.

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