remove class=center-content

This commit is contained in:
Josh de Leeuw 2017-07-17 21:45:32 -04:00
parent f3674497c3
commit eeaa2bba29
11 changed files with 16 additions and 16 deletions

View File

@ -150,7 +150,7 @@ for (var i = 0; i < images.length; i++) {
var block = {
type: 'single-stim',
choices: [89, 78], // Y or N
prompt: '<p class="center-content">Press Y to Continue. Press N to end this node of the experiment.</p>',
prompt: '<p>Press Y to Continue. Press N to end this node of the experiment.</p>',
on_finish: function(data) {
if (data.key_press == 78) {
jsPsych.endCurrentTimeline();
@ -204,7 +204,7 @@ var trial = {
type: 'single-stim',
stimulus: 'image1.jpg',
choices: [89,78], // Y or N
prompt: '<p class="center-content">Press Y to Continue. Press N to end the experiment</p>',
prompt: '<p>Press Y to Continue. Press N to end the experiment</p>',
on_finish: function(data){
if(data.key_press == 78){
jsPsych.endExperiment('The experiment was ended by pressing N.');

View File

@ -17,7 +17,7 @@
type: 'image-keyboard-response',
stimulus: 'img/happy_face_1.jpg',
choices: [89, 78], // Y or N
prompt: '<p class="center-content">The data displayed on the next page should have a subject and completed property. Press Y or N.</p>'
prompt: '<p>The data displayed on the next page should have a subject and completed property. Press Y or N.</p>'
}
jsPsych.data.addProperties({

View File

@ -17,7 +17,7 @@
type: 'image-keyboard-response',
stimulus: 'img/happy_face_1.jpg',
choices: [89, 78], // Y or N
prompt: '<p class="center-content">Data should have a random int 0-19 on next page. Y or N.</p>',
prompt: '<p>Data should have a random int 0-19 on next page. Y or N.</p>',
data: function() {
return {
random_number: Math.floor(Math.random() * 20)

View File

@ -30,7 +30,7 @@
type: 'image-keyboard-response',
timeline: [trial_1, trial_2, trial_3],
choices: [89, 78], // Y or N
prompt: '<p class="center-content">Have you seen this face before? Y or N.</p>',
prompt: '<p>Have you seen this face before? Y or N.</p>',
data: {
node_data: true
},

View File

@ -35,7 +35,7 @@
type: 'image-keyboard-response',
stimulus: 'img/happy_face_1.jpg',
choices: [89, 78], // Y or N
prompt: '<p class="center-content">Have you seen this face before? Y or N.</p>'
prompt: '<p>Have you seen this face before? Y or N.</p>'
}
var trial_2 = {
@ -43,14 +43,14 @@
stimulus: 'img/happy_face_2.jpg',
choices: [89, 78], // Y or N
timing_response: 5000,
prompt: '<p class="center-content">Have you seen this face before? Y or N. (5s time limit).</p>'
prompt: '<p>Have you seen this face before? Y or N. (5s time limit).</p>'
}
var trial_3 = {
type: 'html-keyboard-response',
choices: jsPsych.NO_KEYS, // Y or N
timing_response: 5000,
prompt: '<p class="center-content">No response allowed. 5s wait.</p>',
prompt: '<p>No response allowed. 5s wait.</p>',
stimulus: '<p>:)</p>',
is_html: true
}

View File

@ -27,7 +27,7 @@
var block = {
type: 'image-keyboard-response',
choices: [89, 78], // Y or N
prompt: '<p class="center-content">Press Y to Continue. Press N to end this node of the experiment.</p>',
prompt: '<p>Press Y to Continue. Press N to end this node of the experiment.</p>',
on_finish: function(data) {
if (data.key_press == 78) {
jsPsych.endCurrentTimeline();

View File

@ -25,7 +25,7 @@
var block = {
type: 'image-keyboard-response',
choices: [89, 78], // Y or N
prompt: '<p class="center-content">Press Y to Continue. Press N to end the experiment</p>',
prompt: '<p>Press Y to Continue. Press N to end the experiment</p>',
on_finish: function(data) {
if (data.key_press == 78) {
jsPsych.endExperiment('The experiment was ended. This is the end message.');

View File

@ -13,7 +13,7 @@
stimuli: ['img/happy_face_1.jpg', 'img/happy_face_2.jpg', 'img/happy_face_3.jpg', 'img/happy_face_4.jpg'],
sequence_reps: 3,
frame_time: 300,
prompt: '<p class="center-content">Watch the faces.</p>'
prompt: '<p>Watch the faces.</p>'
};

View File

@ -24,7 +24,7 @@
type: 'single-stim',
stimulus: 'img/happy_face_1.jpg',
choices: [89, 78], // Y or N
prompt: '<p class="center-content">Have you seen this face before? Y or N.</p>'
prompt: '<p>Have you seen this face before? Y or N.</p>'
}
var fullscreen_trial_exit = {

View File

@ -17,21 +17,21 @@
type: 'image-keyboard-response',
stimulus: 'img/happy_face_1.jpg',
choices: [89, 78], // Y or N
prompt: '<p class="center-content">Have you seen this face before? Y or N.</p>'
prompt: '<p>Have you seen this face before? Y or N.</p>'
}
var trial_2 = {
type: 'image-keyboard-response',
stimulus: 'img/happy_face_2.jpg',
choices: [89, 78], // Y or N
prompt: '<p class="center-content">Have you seen this face before? Y or N.</p>'
prompt: '<p>Have you seen this face before? Y or N.</p>'
}
var trial_3 = {
type: 'image-keyboard-response',
stimulus: 'img/happy_face_3.jpg',
choices: [89, 78], // Y or N
prompt: '<p class="center-content">Have you seen this face before? Y or N.</p>'
prompt: '<p>Have you seen this face before? Y or N.</p>'
}
var cnt = 0;

View File

@ -38,7 +38,7 @@
type: 'image-keyboard-response',
choices: [89, 78], // Y or N
stimulus: jsPsych.timelineVariable('v1'),
prompt: function() { return '<p class="center-content">Have you seen '+jsPsych.timelineVariable('v2', true)+ ' before? Y or N.</p>' }
prompt: function() { return '<p>Have you seen '+jsPsych.timelineVariable('v2', true)+ ' before? Y or N.</p>' }
}
],
randomize_order: true,