HOME ➔ SUPPORT ➔ Community ➔ General CourseLab issues ... Displaying different elements sequently with the same button
Displaying different elements sequently with the same button
  View type:
Hi:) Is it possible to use the same button to display a few elements one after another (1st click - 1st element emerges, 2nd click - 2nd element emerges, etc.)?
 
Hi, D W,

you can set up a variable (for example var with initial value 0) which will be incremented on each button click. Then there should be action sequence like that, attached to button click event ( _ means tab):

VARIABLE (var, #var+1)
IF (#var==1)
_ DISPLAY (first object)
IF (#var==2)
_ DISPLAY (second object)
and so on.
 
 
Hello again;
One more question, if I may:
What to do to play the whole sequence again using the same button (after I`ve hidden the displayed elements with another button)?
Regards:)
 
 
Thanks!
Subject:
Message options
No additional options