Forum Discussion

DickVisser-1cb7's avatar
DickVisser-1cb7
Community Member
3 years ago

Display randomly selected pictures

In my project, the user can select two pictures randomly. In this example I use some stock photos as example, I my final project I want to do some exercises on the selected situations.
This works fine.
On the next slides I want to display the pictures side by side, based on the selection that is stored in variables.

See attached pictures.
1. User can make a selection
2. Selected pictures show up. All pictures are hidden. Based on the variables, set in step 1, I show only the selected pictures
3. This is what I want to achieve, Only the selected pictures on a slide side by side

The project is here in review:
 https://360.articulate.com/review/content/834f59fa-d922-4410-9f56-ababb800c0ef/review

I have attached the story file

Has anyone a bright idea on how to evaluate these varibles in a way that only the selected pictures show up?

  • Hi Phil,

    That's an elegant solution.

    In the mean time I was struggling with some javascript to evaluate the variables and push the selected pictures in new variables and that ended in a total mess.

    This is very nice and easy.

    Thanks