-
So, I have to create an Image rating task and I need to hide the image after 5 seconds. Here are the files that I have edited: added stim duration in the jspsych-survey-likert.js file:
In the main experiment file, I have added a new div tag for image with id: imgratehide and to hide it, I have added this code:
Problem(s):
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hi @batshell,
That's odd. Can you share more about the preloading approach you used? Are you using the
Does this happen only after finishing a trial quickly? The |
Beta Was this translation helpful? Give feedback.
Hi @batshell,
That's odd. Can you share more about the preloading approach you used? Are you using the
preload
plugin with6.3.0
?Does this happen only after finishing a trial quickly? The
setTimeout
handler might still be running, and affect your next trial. You may need to calljsPsych.pluginAPI.cancelAllTimeouts()
before ending the trial.