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

Can you randomize slides? (Not Question Slides)

Participant ,
Nov 29, 2018 Nov 29, 2018

I'm looking for a way to randomize slides (not question slides) in Captivate. I am thinking this maybe possible with Javascript.

The use case i'm thinking about would be a project with a couple different branches. I would want to randomly send the learner down 2 of the 4 branches. The idea would be each time they take the course, the branches they are presented with could be different.

434
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
Community Expert ,
Nov 29, 2018 Nov 29, 2018

You would indeed need JS to populate a  variable with a random number.  You can then set up the navigation to a branch based ton that number. Do not forget to turn on Branch aware if you have custom questions.

I used random numbers in different blog posts. Here is one of them:

Playing a dice game, using While loop - Captivate blog

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
Community Expert ,
Nov 29, 2018 Nov 29, 2018
LATEST

If your output is HTML5, you might also consider using the CpExtra HTML5 widget for this task as it also has a randomised number function:

Math Related | Infosemantics Pty Ltd

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