From f795f29cc9e60bf69a88ba9d6459cfe0a9882b10 Mon Sep 17 00:00:00 2001 From: Becky Gilbert Date: Tue, 8 Dec 2020 15:02:30 -0800 Subject: [PATCH] add info to prompts, add post_trial_gap --- examples/jspsych-image-button-response.html | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/examples/jspsych-image-button-response.html b/examples/jspsych-image-button-response.html index 7d221314..cf4b47c6 100644 --- a/examples/jspsych-image-button-response.html +++ b/examples/jspsych-image-button-response.html @@ -18,7 +18,7 @@ stimulus: jsPsych.timelineVariable('stim'), trial_duration: 1000, choices: ['Happy', 'Sad'], - prompt: '

What emotion is this person showing?

(Consecutive images with no post_trial_gap)

', + prompt: '

What emotion is this person showing?

(1s duration, consecutive images with no post_trial_gap)

', stimulus_width: 400, maintain_aspect_ratio: true, post_trial_gap: 0, @@ -39,7 +39,8 @@ type: 'image-button-response', stimulus: 'img/happy_face_1.jpg', choices: ['Happy', 'Sad'], - prompt: "

What emotion is this person showing?

" + prompt: "

What emotion is this person showing?

(Wait for response)

", + post_trial_gap: 500 }); timeline.push({ @@ -48,7 +49,8 @@ stimulus_height: 400, choices: ['Happy', 'Sad'], stimulus_duration: 1000, - prompt: "

What emotion is this person showing? (image disappears after 1s)

" + prompt: "

What emotion is this person showing? (image disappears after 1s)

", + post_trial_gap: 500 }); timeline.push({ @@ -58,7 +60,8 @@ choices: ['Happy', 'Sad'], trial_duration: 2000, response_ends_trial: false, - prompt: "

What emotion is this person showing? (trial ends after 2s)

" + prompt: "

What emotion is this person showing? (trial ends after 2s)

", + post_trial_gap: 500 }); timeline.push({ @@ -67,7 +70,8 @@ choices: ['Happy', 'Sad'], stimulus_width: 400, maintain_aspect_ratio: false, - prompt: '

What emotion is this person showing?

(Stimulus_width set to a smaller value and maintain_aspect_ratio set to false.)

' + prompt: '

What emotion is this person showing?

(Stimulus_width set to a smaller value and maintain_aspect_ratio set to false.)

', + post_trial_gap: 500 }); jsPsych.init({