Show 1 random element in a group at the time

Anita Sølver 11 years ago updated by Inna Komarovsky 10 years ago 0
If I have 10 elements in the same group, how will I be able to show one or two random elements at the time, and only show the next, when the first have been hidden by a user action. Every element may only be used once.

And how will I move on, once all the elements have been used?