Skip to content

Commit

Permalink
Update pcon.html
Browse files Browse the repository at this point in the history
Removed 26 and 28 -- used in the instruction phase for oMST.
Shifted sample phase to have no buttons at all (vs dim buttons)
  • Loading branch information
celstark committed Jun 24, 2023
1 parent c469e1b commit 721b6a0
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions pcon.html
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,11 @@
stimulus: 'Get ready...',
},
{
type: (resp_mode == 'button' ? jsPsychImageButtonResponse : jsPsychImageKeyboardResponse),
choices: (resp_mode == 'button' ? ['Same','Different'] : "NO_KEYS"),
button_html: '<button class="jspsych-btn dimtext">%choice%</button>',
//type: (resp_mode == 'button' ? jsPsychImageButtonResponse : jsPsychImageKeyboardResponse),
//choices: (resp_mode == 'button' ? ['Same','Different'] : "NO_KEYS"),
//button_html: '<button class="jspsych-btn dimtext">%choice%</button>',
type: jsPsychImageKeyboardResponse,
choices: "NO_KEYS",
trial_duration: 2000,
response_ends_trial: false,
stimulus: jsPsych.timelineVariable('img1')
Expand Down Expand Up @@ -249,9 +251,11 @@
stimulus: 'Get ready...',
},
{
type: (resp_mode == 'button' ? jsPsychImageButtonResponse : jsPsychImageKeyboardResponse),
choices: (resp_mode == 'button' ? ['Same','Different'] : "NO_KEYS"),
button_html: '<button class="jspsych-btn dimtext">%choice%</button>',
//type: (resp_mode == 'button' ? jsPsychImageButtonResponse : jsPsychImageKeyboardResponse),
//choices: (resp_mode == 'button' ? ['Same','Different'] : "NO_KEYS"),
//button_html: '<button class="jspsych-btn dimtext">%choice%</button>',
type: jsPsychImageKeyboardResponse,
choices: "NO_KEYS",
trial_duration: 2000,
response_ends_trial: false,
stimulus: jsPsych.timelineVariable('img1')
Expand Down Expand Up @@ -296,9 +300,11 @@
stimulus: 'Get ready...',
},
{
type: (resp_mode == 'button' ? jsPsychImageButtonResponse : jsPsychImageKeyboardResponse),
choices: (resp_mode == 'button' ? ['Same','Different'] : "NO_KEYS"),
button_html: '<button class="jspsych-btn dimtext">%choice%</button>',
//type: (resp_mode == 'button' ? jsPsychImageButtonResponse : jsPsychImageKeyboardResponse),
//choices: (resp_mode == 'button' ? ['Same','Different'] : "NO_KEYS"),
//button_html: '<button class="jspsych-btn dimtext">%choice%</button>',
type: jsPsychImageKeyboardResponse,
choices: "NO_KEYS",
trial_duration: 2000,
response_ends_trial: false,
stimulus: jsPsych.timelineVariable('img1')
Expand Down Expand Up @@ -363,9 +369,9 @@
{ img1: 'img/pcon023a.jpg', img2: 'img/pcon023b.jpg', cresp: 'd'},
{ img1: 'img/pcon024a.jpg', img2: 'img/pcon024b.jpg', cresp: 'd'},
{ img1: 'img/pcon025a.jpg', img2: 'img/pcon025b.jpg', cresp: 'd'},
{ img1: 'img/pcon026a.jpg', img2: 'img/pcon026b.jpg', cresp: 'd'},
//{ img1: 'img/pcon026a.jpg', img2: 'img/pcon026b.jpg', cresp: 'd'},
{ img1: 'img/pcon027a.jpg', img2: 'img/pcon027a.jpg', cresp: 's'},
{ img1: 'img/pcon028a.jpg', img2: 'img/pcon028a.jpg', cresp: 's'},
//{ img1: 'img/pcon028a.jpg', img2: 'img/pcon028a.jpg', cresp: 's'},
],
randomize_order: randomize
}
Expand Down

0 comments on commit 721b6a0

Please sign in to comment.