Foren Foren

Zurück

How to disable or enable next navigation button?

Umschalten
I have Back and Next navigation buttons on my master page (I'm using Footer:word icons template).

I can see that Next button is always enabled on most page. I want to keep it disabled until the page has finished all animations or once the learner has finished an activity.

How do I do that?

Thanks,
0 (0 Stimmen)

RE: How to disable or enable next navigation button?
Antwort
20.11.19 18:21 als Antwort auf D Singh.
Hi D,
If you're using our Master templates, there are already actions created to catch Global Events to disable and enable the next button (or all of the navigation if you prefer): https://www.screencast.com/t/3cVjm7Jt4d  These already exist, so you don't need to set them up.

To use them, on a regular page, you would create actions like the following (in this example, we're disabling next on page load, and then when they have completed the activity on the page (clicked the right button), we enable the next button): https://www.screencast.com/t/wFswVNIoci

Hope that helps!
0 (0 Stimmen)

RE: How to disable or enable next navigation button?
Antwort
21.11.19 11:38 als Antwort auf Navdeep Dhillon.
Perfect. Thanks Nav.
0 (0 Stimmen)

RE: How to disable or enable next navigation button?
Antwort
26.11.19 18:14 als Antwort auf Navdeep Dhillon.
One other thing to note when using Global Events and onPageLoad... While authoring, you can preview from any page.  So if you're testing an onPageLoad that fires a Global Event to be caught by the Master, it is not unusual for it to fail (because the regular page might load before the Master does).  This isn't a concern after publishing, because your learners will always load the lesson from Page 1, it's only something that will crop up while authoring.

So the best thing to do is, when testing this sort of thing, preview from the page before, and try entering the page normally.
0 (0 Stimmen)