Skip to main content
Spiersey
Inspiring
June 30, 2016
Answered

Return to last slide

  • June 30, 2016
  • 1 reply
  • 1512 views

Hi guys. My project has 2 help slides and we can navigate between them, (they are slides 2 and 3 on the project). Slide 3 can be accessed from any of the other slides, and from there the user can decide which aspect of help they need. My problem is that I would like the user to be able to return to the slide from which they accessed the help. Obviously, a simple button with a 'return to next slide' action is no good, as if they access both help slides and then try to return they are in the 'help' loop. So my question is "how do I do that?"

As always, all help greatly appreciated.

Robbie

    This topic has been closed for replies.
    Correct answer Lilybiri

    Lilybiri - many thanks indeed that will be extremely helpful. I look forward to receiving the link.

    Robbie


    Here is the link: Navigation Help Slides - Captivate blog

    1 reply

    Lilybiri
    Legend
    June 30, 2016

    Indeed, you cannot use the system variable cpInfoLastVisitedSlide because that could get the user in a loop. You'll have to store the value the slide from where the user navigates, in a user variable (will label it v_last), to 'fix' it. I would recommend to use the same event that triggers the navigation to the help slides to execute that command, which means you'll have a standard advanced action like this:

    • Assign v_last with cpInfoCurrentSlide
    • Jump to Help_one

    The Success event of the Return button on both Help slides will then trigger this action:

    • Expression cpCmndGotoSlide = v_last - 1

    Depending on the setup of slides, maybe you'll need to add Continue to that return action.

    Spiersey
    SpierseyAuthor
    Inspiring
    July 1, 2016

    Hi Lilybiri and many thanks. This is somewhere outside my skill set and so I'll have to try to get up to speed on variables and advanced actions - do you know if there are any tutorials out there to get me started?

    Again many thanks - Robbie

    Lilybiri
    Legend
    July 1, 2016

    You are totally new to variables and Advanced actions? OK, will try to write out a short blog post with the work flow you need and be back with the link when I'm ready. It will be too long to post here.