Randomisation of several loops inside a main one // Exp. gets stuck when run in the browser
I am building an online experiment in which I want to show several photos to the participants, these pictures should be randomise. The photos will be presented one by one and after each photo the subjects will be asked two questions.
The problem is that each photo (f1, f2, f3) needs its own loop (loop_f1, loop_f2 and loop_f3 in the screen shot below). This is due to inside of each loop there is a sequence (seq_f1, seq_f2, seq_f3) to control that the stimulus will be presented for at least 10s before allowing the subject to answer the questions. Moreover, inside this sequence there is another loop (question_loop_f1, question_loop_f2, question_loop_f3) that controls the randomisation of the two questions. So basically I do not know how to randomise loop_f1, loop_f2 and loop_f3.
My second problem is that, if I try to run this experiment on the external browser, it gets stuck in the first question without letting me provide any response or continue. Each question is placed on a sketchpad together with a Likert scale ranging from 1 to 9. The participants have to press the number keys to respond. This works fine when run on my computer, but does not accept any key response on the browser. It would be very helpful if someone could give me some advice!