-
Hello. I am building a Stroop color task. I would like to have a figure on the screen, centered at the bottom, as a reminder of the response buttons during the entire task. Therefore, the figure is there at the bottom of the screen during the stimuli presentation, the fixation cross and during any feedback. And I do not want this figure to move around, but to be fixed. The stimuli, fixation and feedback is in the center of the screen. This is how I am creating my stimuli. I am using SVG to create the colored boxes and an image for my instructions. {
stimulus: '<svg width="400" height="100"><rect width="400" height="100" style="fill:rgb(0,255,0); stroke-width:3;stroke:rgb(0,0,0)" /></svg><p><p><img src="StroopColorsKeyboard.png" style="position:fixed; bottom:100px">',
data: {test_part: 'trial', color: 'G', correct_response: 'n' }
}, Here is my fixation: stimulus: '<div style="font-size:60px;">+</div><p><p><img src="StroopColorsKeyboard.png" style="position:fixed; bottom:100px">', Thank you, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi Jason, I think using |
Beta Was this translation helpful? Give feedback.
Hi Jason,
I think using
position: fixed;
is reasonable in this situation. What's currently happening when you run your code? Can you post a screenshot?