Skip to main content
Known Participant
February 27, 2014
Question

Maintain state slide was in when last visited

  • February 27, 2014
  • 1 reply
  • 300 views

Hi,

Hopefully a straight forward one. I want to set certain slides so when the user re-visits them they are in the same state they were in when they left after the first visit. Does that make sense? What I have is slides where information appears at timed intervals. This is great on the first visit but if the user wants to go back to that slide and look at the info again I don't want them to have to wait for it to appear.

I'm guessing there's a tick box somewhere just can't find.

Thanks in advance.

Ryan

    This topic has been closed for replies.

    1 reply

    Lilybiri
    Legend
    February 27, 2014

    Not with a simple tick box at all if you are indeed talking about timed events. You'll need an advanced or shared (if you use 7) action, triggered by the On Enter event for the slide, and checking if it is the second (or later visit), and if yes navigates to that frame in the slide where everything has entered: http://blog.lilybiri.com/micro-navigation-in-adobe-captivate

    It depends on your navigation choice. If you use custom navigation instead of a playbar (or TOC-navigation) it could be easier to duplicate the slide, and put everything starting at the first frame on that duplicate, then navigate to that duplicate slide for second visit.

    RyanSteerAuthor
    Known Participant
    February 27, 2014

    OK thanks, that makes sense.

    So is there a 'IF' variable for "has this slide been visited before?".

    Lilybiri
    Legend
    February 27, 2014

    No, you'll have to be creative. Some tips:

    • create a user variable (boolean) with default value of 0 that you toggle to 1 on first visit, after you have checked it is 1; bit cumbersome if you need this for many slides, variable has to be unique for each slide
    • if it is a linear course, you could check if the last visited slide (cpInfoLastVisitedSlide which is a number, starting with 0) has a greater number than the present slide. Beware the var cpInfoCurrentSlide doesn't start with 0 but with 1

    Lilybiri