Replies: 1 comment
-
Hi @sankalp35 , You can access and modify global variables in the Another option would be to create the timer on the page external of jsPsych's display element. This would involve using the |
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
-
I want to add a visible countdown clock for every block of my experiment (which is a section of the timeline). I downloaded a jQuery plugin from the internet, tried to add code to each of my "stimulus" parameters, but doesn't look like the clock works. The CSS seems to be overwritten, and the countdown never happens. I'm wondering what's the best way to add a clock to the experiment?
EDIT: After putting the code in "on_load" I was able to get the timer to work. Now my main issue is how do I make the clock tick across block, and not start all over again before every node.
Beta Was this translation helpful? Give feedback.
All reactions