Skip to content

Commit 721b6a0

Browse files
committed
Update pcon.html
Removed 26 and 28 -- used in the instruction phase for oMST. Shifted sample phase to have no buttons at all (vs dim buttons)
1 parent c469e1b commit 721b6a0

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

pcon.html

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,11 @@
204204
stimulus: 'Get ready...',
205205
},
206206
{
207-
type: (resp_mode == 'button' ? jsPsychImageButtonResponse : jsPsychImageKeyboardResponse),
208-
choices: (resp_mode == 'button' ? ['Same','Different'] : "NO_KEYS"),
209-
button_html: '<button class="jspsych-btn dimtext">%choice%</button>',
207+
//type: (resp_mode == 'button' ? jsPsychImageButtonResponse : jsPsychImageKeyboardResponse),
208+
//choices: (resp_mode == 'button' ? ['Same','Different'] : "NO_KEYS"),
209+
//button_html: '<button class="jspsych-btn dimtext">%choice%</button>',
210+
type: jsPsychImageKeyboardResponse,
211+
choices: "NO_KEYS",
210212
trial_duration: 2000,
211213
response_ends_trial: false,
212214
stimulus: jsPsych.timelineVariable('img1')
@@ -249,9 +251,11 @@
249251
stimulus: 'Get ready...',
250252
},
251253
{
252-
type: (resp_mode == 'button' ? jsPsychImageButtonResponse : jsPsychImageKeyboardResponse),
253-
choices: (resp_mode == 'button' ? ['Same','Different'] : "NO_KEYS"),
254-
button_html: '<button class="jspsych-btn dimtext">%choice%</button>',
254+
//type: (resp_mode == 'button' ? jsPsychImageButtonResponse : jsPsychImageKeyboardResponse),
255+
//choices: (resp_mode == 'button' ? ['Same','Different'] : "NO_KEYS"),
256+
//button_html: '<button class="jspsych-btn dimtext">%choice%</button>',
257+
type: jsPsychImageKeyboardResponse,
258+
choices: "NO_KEYS",
255259
trial_duration: 2000,
256260
response_ends_trial: false,
257261
stimulus: jsPsych.timelineVariable('img1')
@@ -296,9 +300,11 @@
296300
stimulus: 'Get ready...',
297301
},
298302
{
299-
type: (resp_mode == 'button' ? jsPsychImageButtonResponse : jsPsychImageKeyboardResponse),
300-
choices: (resp_mode == 'button' ? ['Same','Different'] : "NO_KEYS"),
301-
button_html: '<button class="jspsych-btn dimtext">%choice%</button>',
303+
//type: (resp_mode == 'button' ? jsPsychImageButtonResponse : jsPsychImageKeyboardResponse),
304+
//choices: (resp_mode == 'button' ? ['Same','Different'] : "NO_KEYS"),
305+
//button_html: '<button class="jspsych-btn dimtext">%choice%</button>',
306+
type: jsPsychImageKeyboardResponse,
307+
choices: "NO_KEYS",
302308
trial_duration: 2000,
303309
response_ends_trial: false,
304310
stimulus: jsPsych.timelineVariable('img1')
@@ -363,9 +369,9 @@
363369
{ img1: 'img/pcon023a.jpg', img2: 'img/pcon023b.jpg', cresp: 'd'},
364370
{ img1: 'img/pcon024a.jpg', img2: 'img/pcon024b.jpg', cresp: 'd'},
365371
{ img1: 'img/pcon025a.jpg', img2: 'img/pcon025b.jpg', cresp: 'd'},
366-
{ img1: 'img/pcon026a.jpg', img2: 'img/pcon026b.jpg', cresp: 'd'},
372+
//{ img1: 'img/pcon026a.jpg', img2: 'img/pcon026b.jpg', cresp: 'd'},
367373
{ img1: 'img/pcon027a.jpg', img2: 'img/pcon027a.jpg', cresp: 's'},
368-
{ img1: 'img/pcon028a.jpg', img2: 'img/pcon028a.jpg', cresp: 's'},
374+
//{ img1: 'img/pcon028a.jpg', img2: 'img/pcon028a.jpg', cresp: 's'},
369375
],
370376
randomize_order: randomize
371377
}

0 commit comments

Comments
 (0)