Action: Go To, Target: Last browsed page

What if you want to allow the user to go back to previous page visited on any page, not just a course map page? I tried the above coding, and while I can make it work when I use a course map, it does not work when I simply have pages without any course map.Any help is appreciated!Thanks.

Discussion (7)

Greetings,How can I program a button so that upon click a person can exit the current page and go back to the page they were just viewing? This page is out of sequence, as it is a course map, so I can't use Go To Previous Page. This action/target combination takes the user to the previous page in the title in sequence, not the previous page viewed.Thanks!Jennifer Buchanan

Thanks!Thanks!

Just the thing I was looking for, thanks! One question, though, will this work for a SCORM published title?Mark

If you are publishing the course to an exe, the code below will not work. But in HTML it will work.In every chapter of your course add an actionOn Show Action Modify variableTarget Page (user defined variable)Value javascript:location.hrefModification Type Set Variable ContentsIn the course map page add a button OnclickAction Go toTarget Web AddressWeb Address VAR(Page)

Yes, this type of technique will work with a SCORM published title. Yes, this type of technique will work with a SCORM published title.

Would I use bookmarks somehow?Would I use bookmarks somehow?

use an action like:GoTo > Web Address > javascript:history.back();

Discussions have been disabled for this post