Integrating multiple external html files in randomized order into jspsych #1338
Unanswered
vscholz118
asked this question in
Q&A
Replies: 1 comment
-
Hi @vscholz118, If your html files are compatible with the jsPsych.init({
timeline: Quest_Shuff
}) Or, if you have other trials as part of the experiment you can add the var timeline = [];
// other stuff added to timeline
timeline = timeline.concat(Quest_Shuff)
jsPsych.init({
timeline: timeline
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I really hope someone here may be able to help me. I have html files for some questionnaire and before serving them up to participants, I will need to randomize their order and then serve them up in the randomized order before saving the data. The html files are programmed so that each time participants are finished with one, they click a button to get to the next page. This is the code I have so far but I got stuck and I have no idea how to continue e.g. would I need a timeline for serving up the different html files or does this not work for external html files? Maybe I need a completely different approach here?
I'm really hoping someone has some advise for me and I'm sorry if this question is very basic. I have been searching for a solution online but so far I have not found a direct solution for my problem.
Thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions