Skip to main content
cgi rand
Inspiring
October 12, 2018
Question

Jump to specific slide in separate course (project)

  • October 12, 2018
  • 1 reply
  • 1561 views

Still new to Captivate 2019 and have a project's table of contents open another project (named module_01).  When the learner is finished with module_01, I would like them to be able to return to the table of contents in module_00, which is slide 2.  The projects are not being run on an LMS.  The projects will be published as both swf and HTML5.

Previous posts in the forum are a few years old and many refer to a link to "captivatedev.com".  Unfortunately, this domain is no longer active.  There was, according to forum messages, a link in 2011 on "how to jump to a specific slide in a separate course".

That is what I wish Captivate 2019 to do ... go from module_00, slide 2 to module_01, and have a button/action to return to module_00, slide 2.

Advice/comments?

Thank you.

    This topic has been closed for replies.

    1 reply

    chrismay_at_delta6226261
    Inspiring
    October 12, 2018

    If you were only exporting to HTML5, you could add a query string to the URL.  An example:

    www.google.com?startSlide=88

    The ?startSlide=88 is the query string.

    You could have some Javascript on the first slide to check to see if there is a query string and then jump to whatever number is sent in query string.

    Here is a tutorial on how to read the query string:

    https://html-online.com/articles/get-url-parameters-javascript/

    I do not know if it is possible with .swf output. I don't see any actions for reading the query string and I dont know if Javascript will work in the .sfw output, I kind of doubt it.

    cgi rand
    cgi randAuthor
    Inspiring
    October 15, 2018

    Thank you for the feedback.

    I have a first module (module00.cptx) which contains the Objectives on Slide 2.  I have a second module (module 01) which has a "Return to Objectives" button with the following settings:

    On Success:  Open URL or File

    URL:  module_00.cptx?slide=2

    in the current window (I prefer not to have accumulating windows being opened).

    Do I put the JavaScript in the first module, on the first slide?

    On Enter: Execute JavaScript

    in the current window

    I am not sure if posting of JavaScript is allowed in the forums.  I did find Jim Leichliter's JavaScript (from 2011).

    Also, do I have to put the module(s) in the 'callees' subdirectory of module_00?

    Thank you once again.

    cgi rand
    cgi randAuthor
    Inspiring
    October 17, 2018

    Your path to the file is not correct then.

    It may be better to open the other file with JavaScript. Can you show how the folders/files are structured?


    Thank you for the response.

    The Actions button for On Success: Open URL or file, URL:  module_00\index.html?slide=2.

    The file structure, showing the callees, is: