Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Forced navigation for scrollable text

New Here ,
Mar 22, 2017 Mar 22, 2017

Hello!  I'm very well versed in designing courses in Captivate with forced navigation when the action the learner is forced to do to proceed is to click a button(s), however I've taken a number of other courses myself that require the learner to scroll to the bottom of a block of text before continuing.  For example, this might be a policy document that the learner needs to sign off on so it is critical they read the entire document before continuing on in the course.  Is this possible in Captivate?  How might I achieve a result like this?

122
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Mar 22, 2017 Mar 22, 2017
LATEST

There are event listeners for scrolling, but not sure if you can tell how far they have scrolled.

If you are using the interaction, it would be easier to add the event listener in the interaction itself post publish since it is in an iframe.

It can be done in CP's JS window, but I don't have the time to figure that out right now.

The script below would show a custom next button, The "object is the actual name of the textbox. YOu should be able to get that by running the file in the browser and opening the developer tools. There is an option to click on each specific element and you should be able to get the id there.

object.addEventListener("scroll", myScript);

function myScript()

{

window.parent.cp.show("nextButtonName")

}

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources