Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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")
}