diff --git a/cued_task_switching_single_task_network__fmri/experiment.js b/cued_task_switching_single_task_network__fmri/experiment.js index bc357b709..3258bc12f 100644 --- a/cued_task_switching_single_task_network__fmri/experiment.js +++ b/cued_task_switching_single_task_network__fmri/experiment.js @@ -33,7 +33,7 @@ function getITI_resp() { //added for fMRI compatibility //feedback functions added for in-person version var getRefreshFeedback = function() { - return '
' + refresh_feedback_text + '
' + refresh_feedback_text + '
' + feedback_text + '
' + feedback_text + '
' + practice_feedback_text + '
' + practice_feedback_text + '
In this task, you will have to respond to a sequence of numbers by pressing your middle and index fingers. How you respond to the numbers will depend on the current task, which can change every trial.
'+ -'On some trials you will have to indicate whether the number is odd or even, and on other trials you will indicate whether the number is higher or lower than 5. Each trial will start with a cue telling you which task to do on that trial.
' + -'The cue before the number will be a word indicating the task. There will be four different cues indicating two different tasks. The cues and tasks are described below:
' + +var practice_feedback_text = 'In this task, you will have to respond to a sequence of numbers by pressing your middle and index fingers. How you respond to the numbers will depend on the current task, which can change every trial.
'+ +'On some trials you will have to indicate whether the number is odd or even, and on other trials you will indicate whether the number is higher or lower than 5. Each trial will start with a cue telling you which task to do on that trial.
' + +'The cue before the number will be a word indicating the task. There will be four different cues indicating two different tasks. The cues and tasks are described below:
' + task_list + -'During practice, you will see a reminder of the rules. This will be removed for the test.
'+ -'When you are ready to begin, please press the spacebar.
'+ +'During practice, you will see a reminder of the rules. This will be removed for the test.
'+ +'When you are ready to begin, please press the spacebar.
'+ 'Done with this practice.' + '
Done with this practice.' task_switches = jsPsych.randomization.repeat(task_switches_arr, numTrialsPerBlock / 4) task_switches.unshift({task_switch: 'na', cue_switch: 'na', go_no_go_type: jsPsych.randomization.repeat(['go','nogo'],1).pop()}) @@ -582,20 +582,20 @@ var practiceNode = { } else if (accuracy < accuracy_thresh){ practice_feedback_text += - '
We are going to try practice again to see if you can achieve higher accuracy. Remember:
' + prompt_task_list
+ '
We are going to try practice again to see if you can achieve higher accuracy. Remember:
' + prompt_task_list
if (missed_responses > missed_response_thresh){
practice_feedback_text +=
- '
You have been responding too slowly. Please respond as quickly and as accurately as possible.' + '
You have been responding too slowly. Please respond as quickly and as accurately as possible.' } if (ave_rt > rt_thresh) { practice_feedback_text += - '
You have been responding too slowly.' + '
You have been responding too slowly.' } if (practiceCount == practice_thresh){ practice_feedback_text += - '
Done with this practice.' + '
Done with this practice.' task_switches = jsPsych.randomization.repeat(task_switches_arr, numTrialsPerBlock / 4) task_switches.unshift({task_switch: 'na', cue_switch: 'na', go_no_go_type: jsPsych.randomization.repeat(['go','nogo'],1).pop()}) @@ -604,7 +604,7 @@ var practiceNode = { } practice_feedback_text += - '
Redoing this practice. When you are ready to continue, please press the spacebar.' + '
Redoing this practice. When you are ready to continue, please press the spacebar.' return true diff --git a/cued_task_switching_single_task_network__practice/images/1.png b/cued_task_switching_single_task_network__practice/images/1.png index 3afe61d80..a7248d4de 100644 Binary files a/cued_task_switching_single_task_network__practice/images/1.png and b/cued_task_switching_single_task_network__practice/images/1.png differ diff --git a/cued_task_switching_single_task_network__practice/images/100/1.png b/cued_task_switching_single_task_network__practice/images/100/1.png new file mode 100644 index 000000000..379d13bdb Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/100/1.png differ diff --git a/cued_task_switching_single_task_network__practice/images/100/2.png b/cued_task_switching_single_task_network__practice/images/100/2.png new file mode 100644 index 000000000..0d707f64e Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/100/2.png differ diff --git a/cued_task_switching_single_task_network__practice/images/100/3.png b/cued_task_switching_single_task_network__practice/images/100/3.png new file mode 100644 index 000000000..ca02c3533 Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/100/3.png differ diff --git a/cued_task_switching_single_task_network__practice/images/100/4.png b/cued_task_switching_single_task_network__practice/images/100/4.png new file mode 100644 index 000000000..40fbc715d Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/100/4.png differ diff --git a/cued_task_switching_single_task_network__practice/images/100/5.png b/cued_task_switching_single_task_network__practice/images/100/5.png new file mode 100644 index 000000000..099c859d6 Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/100/5.png differ diff --git a/cued_task_switching_single_task_network__practice/images/100/6.png b/cued_task_switching_single_task_network__practice/images/100/6.png new file mode 100644 index 000000000..c3a58ec9d Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/100/6.png differ diff --git a/cued_task_switching_single_task_network__practice/images/100/7.png b/cued_task_switching_single_task_network__practice/images/100/7.png new file mode 100644 index 000000000..a885d31a8 Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/100/7.png differ diff --git a/cued_task_switching_single_task_network__practice/images/100/8.png b/cued_task_switching_single_task_network__practice/images/100/8.png new file mode 100644 index 000000000..cf24a71dc Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/100/8.png differ diff --git a/cued_task_switching_single_task_network__practice/images/100/9.png b/cued_task_switching_single_task_network__practice/images/100/9.png new file mode 100644 index 000000000..0faedf379 Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/100/9.png differ diff --git a/cued_task_switching_single_task_network__practice/images/150/1.png b/cued_task_switching_single_task_network__practice/images/150/1.png new file mode 100644 index 000000000..a7248d4de Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/150/1.png differ diff --git a/cued_task_switching_single_task_network__practice/images/150/2.png b/cued_task_switching_single_task_network__practice/images/150/2.png new file mode 100644 index 000000000..c710c4a40 Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/150/2.png differ diff --git a/cued_task_switching_single_task_network__practice/images/150/3.png b/cued_task_switching_single_task_network__practice/images/150/3.png new file mode 100644 index 000000000..5696b0438 Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/150/3.png differ diff --git a/cued_task_switching_single_task_network__practice/images/150/4.png b/cued_task_switching_single_task_network__practice/images/150/4.png new file mode 100644 index 000000000..afaa01f53 Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/150/4.png differ diff --git a/cued_task_switching_single_task_network__practice/images/150/5.png b/cued_task_switching_single_task_network__practice/images/150/5.png new file mode 100644 index 000000000..04b0084f6 Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/150/5.png differ diff --git a/cued_task_switching_single_task_network__practice/images/150/6.png b/cued_task_switching_single_task_network__practice/images/150/6.png new file mode 100644 index 000000000..5601ee69e Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/150/6.png differ diff --git a/cued_task_switching_single_task_network__practice/images/150/7.png b/cued_task_switching_single_task_network__practice/images/150/7.png new file mode 100644 index 000000000..864490e08 Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/150/7.png differ diff --git a/cued_task_switching_single_task_network__practice/images/150/8.png b/cued_task_switching_single_task_network__practice/images/150/8.png new file mode 100644 index 000000000..053c0e527 Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/150/8.png differ diff --git a/cued_task_switching_single_task_network__practice/images/150/9.png b/cued_task_switching_single_task_network__practice/images/150/9.png new file mode 100644 index 000000000..9a85ef4cb Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/150/9.png differ diff --git a/cued_task_switching_single_task_network__practice/images/2.png b/cued_task_switching_single_task_network__practice/images/2.png index 5bcc1b777..c710c4a40 100644 Binary files a/cued_task_switching_single_task_network__practice/images/2.png and b/cued_task_switching_single_task_network__practice/images/2.png differ diff --git a/cued_task_switching_single_task_network__practice/images/200/1.png b/cued_task_switching_single_task_network__practice/images/200/1.png new file mode 100644 index 000000000..352b047c3 Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/200/1.png differ diff --git a/cued_task_switching_single_task_network__practice/images/200/2.png b/cued_task_switching_single_task_network__practice/images/200/2.png new file mode 100644 index 000000000..f57159689 Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/200/2.png differ diff --git a/cued_task_switching_single_task_network__practice/images/200/3.png b/cued_task_switching_single_task_network__practice/images/200/3.png new file mode 100644 index 000000000..3509f83e6 Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/200/3.png differ diff --git a/cued_task_switching_single_task_network__practice/images/200/4.png b/cued_task_switching_single_task_network__practice/images/200/4.png new file mode 100644 index 000000000..23ff7998b Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/200/4.png differ diff --git a/cued_task_switching_single_task_network__practice/images/200/5.png b/cued_task_switching_single_task_network__practice/images/200/5.png new file mode 100644 index 000000000..f32550b18 Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/200/5.png differ diff --git a/cued_task_switching_single_task_network__practice/images/200/6.png b/cued_task_switching_single_task_network__practice/images/200/6.png new file mode 100644 index 000000000..59e6bf84c Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/200/6.png differ diff --git a/cued_task_switching_single_task_network__practice/images/200/7.png b/cued_task_switching_single_task_network__practice/images/200/7.png new file mode 100644 index 000000000..5ab727c65 Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/200/7.png differ diff --git a/cued_task_switching_single_task_network__practice/images/200/8.png b/cued_task_switching_single_task_network__practice/images/200/8.png new file mode 100644 index 000000000..183be5c0f Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/200/8.png differ diff --git a/cued_task_switching_single_task_network__practice/images/200/9.png b/cued_task_switching_single_task_network__practice/images/200/9.png new file mode 100644 index 000000000..9e01bfd1c Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/200/9.png differ diff --git a/cued_task_switching_single_task_network__practice/images/3.png b/cued_task_switching_single_task_network__practice/images/3.png index ec813b9df..5696b0438 100644 Binary files a/cued_task_switching_single_task_network__practice/images/3.png and b/cued_task_switching_single_task_network__practice/images/3.png differ diff --git a/cued_task_switching_single_task_network__practice/images/4.png b/cued_task_switching_single_task_network__practice/images/4.png index d085b462b..afaa01f53 100644 Binary files a/cued_task_switching_single_task_network__practice/images/4.png and b/cued_task_switching_single_task_network__practice/images/4.png differ diff --git a/cued_task_switching_single_task_network__practice/images/5.png b/cued_task_switching_single_task_network__practice/images/5.png new file mode 100644 index 000000000..04b0084f6 Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/5.png differ diff --git a/cued_task_switching_single_task_network__practice/images/6.png b/cued_task_switching_single_task_network__practice/images/6.png index 93d5ed327..5601ee69e 100644 Binary files a/cued_task_switching_single_task_network__practice/images/6.png and b/cued_task_switching_single_task_network__practice/images/6.png differ diff --git a/cued_task_switching_single_task_network__practice/images/7.png b/cued_task_switching_single_task_network__practice/images/7.png index 8ea71407c..864490e08 100644 Binary files a/cued_task_switching_single_task_network__practice/images/7.png and b/cued_task_switching_single_task_network__practice/images/7.png differ diff --git a/cued_task_switching_single_task_network__practice/images/72/1.png b/cued_task_switching_single_task_network__practice/images/72/1.png new file mode 100644 index 000000000..3afe61d80 Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/72/1.png differ diff --git a/cued_task_switching_single_task_network__practice/images/72/2.png b/cued_task_switching_single_task_network__practice/images/72/2.png new file mode 100644 index 000000000..5bcc1b777 Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/72/2.png differ diff --git a/cued_task_switching_single_task_network__practice/images/72/3.png b/cued_task_switching_single_task_network__practice/images/72/3.png new file mode 100644 index 000000000..ec813b9df Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/72/3.png differ diff --git a/cued_task_switching_single_task_network__practice/images/72/4.png b/cued_task_switching_single_task_network__practice/images/72/4.png new file mode 100644 index 000000000..d085b462b Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/72/4.png differ diff --git a/cued_task_switching_single_task_network__practice/images/72/6.png b/cued_task_switching_single_task_network__practice/images/72/6.png new file mode 100644 index 000000000..93d5ed327 Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/72/6.png differ diff --git a/cued_task_switching_single_task_network__practice/images/72/7.png b/cued_task_switching_single_task_network__practice/images/72/7.png new file mode 100644 index 000000000..8ea71407c Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/72/7.png differ diff --git a/cued_task_switching_single_task_network__practice/images/72/8.png b/cued_task_switching_single_task_network__practice/images/72/8.png new file mode 100644 index 000000000..da9c5f9fa Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/72/8.png differ diff --git a/cued_task_switching_single_task_network__practice/images/72/9.png b/cued_task_switching_single_task_network__practice/images/72/9.png new file mode 100644 index 000000000..d7174f3bc Binary files /dev/null and b/cued_task_switching_single_task_network__practice/images/72/9.png differ diff --git a/cued_task_switching_single_task_network__practice/images/8.png b/cued_task_switching_single_task_network__practice/images/8.png index da9c5f9fa..053c0e527 100644 Binary files a/cued_task_switching_single_task_network__practice/images/8.png and b/cued_task_switching_single_task_network__practice/images/8.png differ diff --git a/cued_task_switching_single_task_network__practice/images/9.png b/cued_task_switching_single_task_network__practice/images/9.png index d7174f3bc..9a85ef4cb 100644 Binary files a/cued_task_switching_single_task_network__practice/images/9.png and b/cued_task_switching_single_task_network__practice/images/9.png differ diff --git a/cued_task_switching_single_task_network__practice/style.css b/cued_task_switching_single_task_network__practice/style.css index fe568e9b5..fb64155fa 100644 --- a/cued_task_switching_single_task_network__practice/style.css +++ b/cued_task_switching_single_task_network__practice/style.css @@ -81,21 +81,9 @@ margin-right:0%; background-color: none; text-align: center; } -/* -.instructBox { - width: 80vw; - height: 10vw; - position:absolute; - top:10%; - left:50%; - margin-right: 0%; - transform: translate(-50%,-50%); - background-color: none; - font-size: 24px; -} */ -/* taken from stop_signal__fmri */ -/* ul { +/* MODIFIED FOR IN-PERSON PRACTICE */ +ul { list-style-type: none; text-align: center; display: inline-block; @@ -103,53 +91,25 @@ text-align: center; line-height: 120%; margin-bottom: 1em; color: white -} */ - -ul { - list-style-type: none; - text-align: center; - display: inline-block; - color: white -} - +} .instructbox { width: 50vw; height: 60vh; position:absolute; - top:45%; + top:35%; left:50%; margin-right:-50%; transform: translate(-50%,-50%); text-align: center; } -/* .instruct-text { - width:100%; - text-align: center; - margin: 0 auto; - margin-bottom: 1em; - font-size: 30px; - line-height: 120%; - color: white; -} */ - -/* .instruct-text { - width:100%; - text-align: center; - margin: 0 auto; - margin-bottom: 1em; - font-size: 35px; - line-height: 120%; - color: white; -} */ - .instruct-text { width:100%; text-align: left; margin: 0 auto; margin-bottom: 1em; - font-size: 35px; + font-size: 28px; line-height: 120%; color: white; } diff --git a/n_back_single_task_network__fmri/experiment.js b/n_back_single_task_network__fmri/experiment.js index e9d717af1..0aaaa6c0f 100644 --- a/n_back_single_task_network__fmri/experiment.js +++ b/n_back_single_task_network__fmri/experiment.js @@ -33,7 +33,7 @@ function getITI_resp() { //added for fMRI compatibility //feedback functions added for in-person version var getRefreshFeedback = function() { - return '
' + refresh_feedback_text + '
' + refresh_feedback_text + '
' + feedback_text + '
' + feedback_text + '
In this task, you will see a letter on every trial.
'+ 'You will be asked to match the current letter to the letter that appeared either 1, 2, or 3 trials ago depending on the delay given to you for that block.
'+ -'Press your '+possible_responses[0][0]+' if the letters match, and your '+possible_responses[1][0]+' if they mismatch.
'+ +'Press your '+possible_responses[0][0]+' if the letters match, and your '+possible_responses[1][0]+' if they mismatch.
'+ 'Your delay (the number of trials ago which you must match the current letter to) will change from block to block. You will be given the delay at the start of every block of trials.
'+ 'Capitalization does not matter, so "T" matches with "t".
'+ -'Your delay for this upcoming practice round is 1.
'+ +'Your delay for this upcoming practice round is 1.
'+ 'During practice, you will see a reminder of the rules. This will be removed for the test.
'+ 'To let the experimenters know when you are ready to begin, please press any button.
'+ '' + practice_feedback_text + '
' + practice_feedback_text + '
' + feedback_text + '
' + feedback_text + '
In this task, you will see a letter on every trial.
'+ -'You will be asked to match the current letter to the letter that appeared either 1, 2, or 3 trials ago depending on the delay given to you for that block.
'+ -'Press your '+possible_responses[0][0]+' if the letters match, and your '+possible_responses[1][0]+' if they mismatch.
'+ -'Your delay (the number of trials ago which you must match the current letter to) will change from block to block. You will be given the delay at the start of every block of trials.
'+ -'Capitalization does not matter, so "T" matches with "t".
'+ -'Your delay for this upcoming practice round is 1.
'+ -'During practice, you will see a reminder of the rules. This will be removed for the test.
'+ -'When you are ready to begin, please press the spacebar.
'+ +'In this task, you will see a letter on every trial.
'+ +'You will be asked to match the current letter to the letter that appeared either 1, 2, or 3 trials ago depending on the delay given to you for that block.
'+ +'Press your '+possible_responses[0][0]+' if the letters match, and your '+possible_responses[1][0]+' if they mismatch.
'+ +'Your delay (the number of trials ago which you must match the current letter to) will change from block to block. You will be given the delay at the start of every block of trials.
'+ +'Capitalization does not matter, so "T" matches with "t".
'+ +'Your delay for this upcoming practice round is 1.
'+ +'During practice, you will see a reminder of the rules. This will be removed for the test.
'+ +'When you are ready to begin, please press the spacebar.
'+ 'You have not been responding to some trials. Please respond on every trial that requires a response.' + '
You have not been responding to some trials. Please respond on every trial that requires a response.' } if (ave_rt > rt_thresh){ practice_feedback_text += - '
You have been responding too slowly.' + '
You have been responding too slowly.' } if (mismatch_press_percentage >= 0.90){ practice_feedback_text += - '
Please do not simply press your "'+possible_responses[1][0]+'" to every stimulus. Please try to identify the matches and press your "'+possible_responses[0][0]+'" when they occur.' + '
Please do not simply press your "'+possible_responses[1][0]+'" to every stimulus. Please try to identify the matches and press your "'+possible_responses[0][0]+'" when they occur.' } if (practiceCount == practice_thresh){ // practice_feedback_text += - // '
Done with this practice. The test session will begin shortly.' + // '
Done with this practice. The test session will begin shortly.' delay = 2 stims = createTrialTypes(practice_len, delay) - practice_feedback_text = "Your delay for this block is "+delay+". Please match the current letter to the letter that appeared "+delay+" trial(s) ago." + practice_feedback_text = "
Your delay for this block is "+delay+". Please match the current letter to the letter that appeared "+delay+" trial(s) ago.
" return false } practice_feedback_text += - 'We are going to try practice again to see if you can achieve higher accuracy. Remember:
' + prompt_text_list +
- '
When you are ready to continue, please press the spacebar.
' + 'We are going to try practice again to see if you can achieve higher accuracy. Remember:
' + prompt_text_list +
+ '
When you are ready to continue, please press the spacebar.
' return true @@ -647,40 +647,40 @@ var practiceNode2 = { if (accuracy > accuracy_thresh){ practice_feedback_text += - 'Done with this practice. The test session will begin shortly.' + '
Done with this practice. The test session will begin shortly.' delay = delays.pop() stims = createTrialTypes(numTrialsPerBlock, delay) - feedback_text = "Your delay for this block is "+delay+". Please match the current letter to the letter that appeared "+delay+" trial(s) ago." + feedback_text = "
Your delay for this block is "+delay+". Please match the current letter to the letter that appeared "+delay+" trial(s) ago.
" return false } else if (accuracy < accuracy_thresh){ if (missed_responses > missed_thresh){ practice_feedback_text += - 'You have not been responding to some trials. Please respond on every trial that requires a response.' + '
You have not been responding to some trials. Please respond on every trial that requires a response.' } if (ave_rt > rt_thresh){ practice_feedback_text += - '
You have been responding too slowly.' + '
You have been responding too slowly.' } if (mismatch_press_percentage >= 0.90){ practice_feedback_text += - '
Please do not simply press your "'+possible_responses[1][0]+'" to every stimulus. Please try to identify the matches and press your "'+possible_responses[0][0]+'" when they occur.' + '
Please do not simply press your "'+possible_responses[1][0]+'" to every stimulus. Please try to identify the matches and press your "'+possible_responses[0][0]+'" when they occur.' } if (practiceCount == practice_thresh){ practice_feedback_text += - '
Done with this practice. The test session will begin shortly.' + '
Done with this practice. The test session will begin shortly.' delay = delays.pop() stims = createTrialTypes(numTrialsPerBlock, delay) - feedback_text = "Your delay for this block is "+delay+". Please match the current letter to the letter that appeared "+delay+" trial(s) ago." + feedback_text = "
Your delay for this block is "+delay+". Please match the current letter to the letter that appeared "+delay+" trial(s) ago.
" return false } practice_feedback_text += - 'We are going to try practice again to see if you can achieve higher accuracy. Remember:
' + prompt_text_list +
- '
When you are ready to continue, please press the spacebar.
' + 'We are going to try practice again to see if you can achieve higher accuracy. Remember:
' + prompt_text_list +
+ '
When you are ready to continue, please press the spacebar.
' return true diff --git a/n_back_single_task_network__practice/images/100/lowercase_B.png b/n_back_single_task_network__practice/images/100/lowercase_B.png new file mode 100644 index 000000000..7a6d4a0b6 Binary files /dev/null and b/n_back_single_task_network__practice/images/100/lowercase_B.png differ diff --git a/n_back_single_task_network__practice/images/100/lowercase_D.png b/n_back_single_task_network__practice/images/100/lowercase_D.png new file mode 100644 index 000000000..7bfc821a0 Binary files /dev/null and b/n_back_single_task_network__practice/images/100/lowercase_D.png differ diff --git a/n_back_single_task_network__practice/images/100/lowercase_G.png b/n_back_single_task_network__practice/images/100/lowercase_G.png new file mode 100644 index 000000000..ae18d92f3 Binary files /dev/null and b/n_back_single_task_network__practice/images/100/lowercase_G.png differ diff --git a/n_back_single_task_network__practice/images/100/lowercase_T.png b/n_back_single_task_network__practice/images/100/lowercase_T.png new file mode 100644 index 000000000..a1beacdaa Binary files /dev/null and b/n_back_single_task_network__practice/images/100/lowercase_T.png differ diff --git a/n_back_single_task_network__practice/images/100/lowercase_V.png b/n_back_single_task_network__practice/images/100/lowercase_V.png new file mode 100644 index 000000000..0df8ab20c Binary files /dev/null and b/n_back_single_task_network__practice/images/100/lowercase_V.png differ diff --git a/n_back_single_task_network__practice/images/100/uppercase_B.png b/n_back_single_task_network__practice/images/100/uppercase_B.png new file mode 100644 index 000000000..e1da02496 Binary files /dev/null and b/n_back_single_task_network__practice/images/100/uppercase_B.png differ diff --git a/n_back_single_task_network__practice/images/100/uppercase_D.png b/n_back_single_task_network__practice/images/100/uppercase_D.png new file mode 100644 index 000000000..f9478e94f Binary files /dev/null and b/n_back_single_task_network__practice/images/100/uppercase_D.png differ diff --git a/n_back_single_task_network__practice/images/100/uppercase_G.png b/n_back_single_task_network__practice/images/100/uppercase_G.png new file mode 100644 index 000000000..cbc5d686f Binary files /dev/null and b/n_back_single_task_network__practice/images/100/uppercase_G.png differ diff --git a/n_back_single_task_network__practice/images/100/uppercase_T.png b/n_back_single_task_network__practice/images/100/uppercase_T.png new file mode 100644 index 000000000..dae92b0d2 Binary files /dev/null and b/n_back_single_task_network__practice/images/100/uppercase_T.png differ diff --git a/n_back_single_task_network__practice/images/100/uppercase_V.png b/n_back_single_task_network__practice/images/100/uppercase_V.png new file mode 100644 index 000000000..e7b19ef74 Binary files /dev/null and b/n_back_single_task_network__practice/images/100/uppercase_V.png differ diff --git a/n_back_single_task_network__practice/images/150/lowercase_B.png b/n_back_single_task_network__practice/images/150/lowercase_B.png new file mode 100644 index 000000000..198d79011 Binary files /dev/null and b/n_back_single_task_network__practice/images/150/lowercase_B.png differ diff --git a/n_back_single_task_network__practice/images/150/lowercase_D.png b/n_back_single_task_network__practice/images/150/lowercase_D.png new file mode 100644 index 000000000..4cf4dca2a Binary files /dev/null and b/n_back_single_task_network__practice/images/150/lowercase_D.png differ diff --git a/n_back_single_task_network__practice/images/150/lowercase_G.png b/n_back_single_task_network__practice/images/150/lowercase_G.png new file mode 100644 index 000000000..816655652 Binary files /dev/null and b/n_back_single_task_network__practice/images/150/lowercase_G.png differ diff --git a/n_back_single_task_network__practice/images/150/lowercase_T.png b/n_back_single_task_network__practice/images/150/lowercase_T.png new file mode 100644 index 000000000..3e2d687b7 Binary files /dev/null and b/n_back_single_task_network__practice/images/150/lowercase_T.png differ diff --git a/n_back_single_task_network__practice/images/150/lowercase_V.png b/n_back_single_task_network__practice/images/150/lowercase_V.png new file mode 100644 index 000000000..c1a759c24 Binary files /dev/null and b/n_back_single_task_network__practice/images/150/lowercase_V.png differ diff --git a/n_back_single_task_network__practice/images/150/uppercase_B.png b/n_back_single_task_network__practice/images/150/uppercase_B.png new file mode 100644 index 000000000..e9d8f41d6 Binary files /dev/null and b/n_back_single_task_network__practice/images/150/uppercase_B.png differ diff --git a/n_back_single_task_network__practice/images/150/uppercase_D.png b/n_back_single_task_network__practice/images/150/uppercase_D.png new file mode 100644 index 000000000..2788e3a24 Binary files /dev/null and b/n_back_single_task_network__practice/images/150/uppercase_D.png differ diff --git a/n_back_single_task_network__practice/images/150/uppercase_G.png b/n_back_single_task_network__practice/images/150/uppercase_G.png new file mode 100644 index 000000000..fd1848c38 Binary files /dev/null and b/n_back_single_task_network__practice/images/150/uppercase_G.png differ diff --git a/n_back_single_task_network__practice/images/150/uppercase_T.png b/n_back_single_task_network__practice/images/150/uppercase_T.png new file mode 100644 index 000000000..5f99d4868 Binary files /dev/null and b/n_back_single_task_network__practice/images/150/uppercase_T.png differ diff --git a/n_back_single_task_network__practice/images/150/uppercase_V.png b/n_back_single_task_network__practice/images/150/uppercase_V.png new file mode 100644 index 000000000..55e531ac6 Binary files /dev/null and b/n_back_single_task_network__practice/images/150/uppercase_V.png differ diff --git a/n_back_single_task_network__practice/images/200/lowercase_B.png b/n_back_single_task_network__practice/images/200/lowercase_B.png new file mode 100644 index 000000000..b81f63170 Binary files /dev/null and b/n_back_single_task_network__practice/images/200/lowercase_B.png differ diff --git a/n_back_single_task_network__practice/images/200/lowercase_D.png b/n_back_single_task_network__practice/images/200/lowercase_D.png new file mode 100644 index 000000000..6eba348dd Binary files /dev/null and b/n_back_single_task_network__practice/images/200/lowercase_D.png differ diff --git a/n_back_single_task_network__practice/images/200/lowercase_G.png b/n_back_single_task_network__practice/images/200/lowercase_G.png new file mode 100644 index 000000000..9f90bcac3 Binary files /dev/null and b/n_back_single_task_network__practice/images/200/lowercase_G.png differ diff --git a/n_back_single_task_network__practice/images/200/lowercase_T.png b/n_back_single_task_network__practice/images/200/lowercase_T.png new file mode 100644 index 000000000..2ba1a673c Binary files /dev/null and b/n_back_single_task_network__practice/images/200/lowercase_T.png differ diff --git a/n_back_single_task_network__practice/images/200/lowercase_V.png b/n_back_single_task_network__practice/images/200/lowercase_V.png new file mode 100644 index 000000000..e07326c05 Binary files /dev/null and b/n_back_single_task_network__practice/images/200/lowercase_V.png differ diff --git a/n_back_single_task_network__practice/images/200/uppercase_B.png b/n_back_single_task_network__practice/images/200/uppercase_B.png new file mode 100644 index 000000000..b82955a57 Binary files /dev/null and b/n_back_single_task_network__practice/images/200/uppercase_B.png differ diff --git a/n_back_single_task_network__practice/images/200/uppercase_D.png b/n_back_single_task_network__practice/images/200/uppercase_D.png new file mode 100644 index 000000000..6ebeba53f Binary files /dev/null and b/n_back_single_task_network__practice/images/200/uppercase_D.png differ diff --git a/n_back_single_task_network__practice/images/200/uppercase_G.png b/n_back_single_task_network__practice/images/200/uppercase_G.png new file mode 100644 index 000000000..1e14b2b64 Binary files /dev/null and b/n_back_single_task_network__practice/images/200/uppercase_G.png differ diff --git a/n_back_single_task_network__practice/images/200/uppercase_T.png b/n_back_single_task_network__practice/images/200/uppercase_T.png new file mode 100644 index 000000000..b5fde8cb4 Binary files /dev/null and b/n_back_single_task_network__practice/images/200/uppercase_T.png differ diff --git a/n_back_single_task_network__practice/images/200/uppercase_V.png b/n_back_single_task_network__practice/images/200/uppercase_V.png new file mode 100644 index 000000000..5ed2556bf Binary files /dev/null and b/n_back_single_task_network__practice/images/200/uppercase_V.png differ diff --git a/n_back_single_task_network__practice/images/72/lowercase_B.png b/n_back_single_task_network__practice/images/72/lowercase_B.png new file mode 100644 index 000000000..bdf1f578c Binary files /dev/null and b/n_back_single_task_network__practice/images/72/lowercase_B.png differ diff --git a/n_back_single_task_network__practice/images/72/lowercase_D.png b/n_back_single_task_network__practice/images/72/lowercase_D.png new file mode 100644 index 000000000..bc7f2d31c Binary files /dev/null and b/n_back_single_task_network__practice/images/72/lowercase_D.png differ diff --git a/n_back_single_task_network__practice/images/72/lowercase_G.png b/n_back_single_task_network__practice/images/72/lowercase_G.png new file mode 100644 index 000000000..94ea1a98e Binary files /dev/null and b/n_back_single_task_network__practice/images/72/lowercase_G.png differ diff --git a/n_back_single_task_network__practice/images/72/lowercase_T.png b/n_back_single_task_network__practice/images/72/lowercase_T.png new file mode 100644 index 000000000..fda5cbca6 Binary files /dev/null and b/n_back_single_task_network__practice/images/72/lowercase_T.png differ diff --git a/n_back_single_task_network__practice/images/72/lowercase_V.png b/n_back_single_task_network__practice/images/72/lowercase_V.png new file mode 100644 index 000000000..c747297a0 Binary files /dev/null and b/n_back_single_task_network__practice/images/72/lowercase_V.png differ diff --git a/n_back_single_task_network__practice/images/72/uppercase_B.png b/n_back_single_task_network__practice/images/72/uppercase_B.png new file mode 100644 index 000000000..cb6088a9c Binary files /dev/null and b/n_back_single_task_network__practice/images/72/uppercase_B.png differ diff --git a/n_back_single_task_network__practice/images/72/uppercase_D.png b/n_back_single_task_network__practice/images/72/uppercase_D.png new file mode 100644 index 000000000..b97e86e44 Binary files /dev/null and b/n_back_single_task_network__practice/images/72/uppercase_D.png differ diff --git a/n_back_single_task_network__practice/images/72/uppercase_G.png b/n_back_single_task_network__practice/images/72/uppercase_G.png new file mode 100644 index 000000000..809b7730b Binary files /dev/null and b/n_back_single_task_network__practice/images/72/uppercase_G.png differ diff --git a/n_back_single_task_network__practice/images/72/uppercase_T.png b/n_back_single_task_network__practice/images/72/uppercase_T.png new file mode 100644 index 000000000..afd55a738 Binary files /dev/null and b/n_back_single_task_network__practice/images/72/uppercase_T.png differ diff --git a/n_back_single_task_network__practice/images/72/uppercase_V.png b/n_back_single_task_network__practice/images/72/uppercase_V.png new file mode 100644 index 000000000..fbcd74918 Binary files /dev/null and b/n_back_single_task_network__practice/images/72/uppercase_V.png differ diff --git a/n_back_single_task_network__practice/images/lowercase_B.png b/n_back_single_task_network__practice/images/lowercase_B.png index 9ff98ec94..198d79011 100644 Binary files a/n_back_single_task_network__practice/images/lowercase_B.png and b/n_back_single_task_network__practice/images/lowercase_B.png differ diff --git a/n_back_single_task_network__practice/images/lowercase_D.png b/n_back_single_task_network__practice/images/lowercase_D.png index bc7f2d31c..4cf4dca2a 100644 Binary files a/n_back_single_task_network__practice/images/lowercase_D.png and b/n_back_single_task_network__practice/images/lowercase_D.png differ diff --git a/n_back_single_task_network__practice/images/lowercase_G.png b/n_back_single_task_network__practice/images/lowercase_G.png index 94ea1a98e..816655652 100644 Binary files a/n_back_single_task_network__practice/images/lowercase_G.png and b/n_back_single_task_network__practice/images/lowercase_G.png differ diff --git a/n_back_single_task_network__practice/images/lowercase_T.png b/n_back_single_task_network__practice/images/lowercase_T.png index fda5cbca6..3e2d687b7 100644 Binary files a/n_back_single_task_network__practice/images/lowercase_T.png and b/n_back_single_task_network__practice/images/lowercase_T.png differ diff --git a/n_back_single_task_network__practice/images/lowercase_V.png b/n_back_single_task_network__practice/images/lowercase_V.png index c747297a0..c1a759c24 100644 Binary files a/n_back_single_task_network__practice/images/lowercase_V.png and b/n_back_single_task_network__practice/images/lowercase_V.png differ diff --git a/n_back_single_task_network__practice/images/uppercase_B.png b/n_back_single_task_network__practice/images/uppercase_B.png index cb6088a9c..e9d8f41d6 100644 Binary files a/n_back_single_task_network__practice/images/uppercase_B.png and b/n_back_single_task_network__practice/images/uppercase_B.png differ diff --git a/n_back_single_task_network__practice/images/uppercase_D.png b/n_back_single_task_network__practice/images/uppercase_D.png index b97e86e44..2788e3a24 100644 Binary files a/n_back_single_task_network__practice/images/uppercase_D.png and b/n_back_single_task_network__practice/images/uppercase_D.png differ diff --git a/n_back_single_task_network__practice/images/uppercase_G.png b/n_back_single_task_network__practice/images/uppercase_G.png index 809b7730b..fd1848c38 100644 Binary files a/n_back_single_task_network__practice/images/uppercase_G.png and b/n_back_single_task_network__practice/images/uppercase_G.png differ diff --git a/n_back_single_task_network__practice/images/uppercase_T.png b/n_back_single_task_network__practice/images/uppercase_T.png index afd55a738..5f99d4868 100644 Binary files a/n_back_single_task_network__practice/images/uppercase_T.png and b/n_back_single_task_network__practice/images/uppercase_T.png differ diff --git a/n_back_single_task_network__practice/images/uppercase_V.png b/n_back_single_task_network__practice/images/uppercase_V.png index fbcd74918..55e531ac6 100644 Binary files a/n_back_single_task_network__practice/images/uppercase_V.png and b/n_back_single_task_network__practice/images/uppercase_V.png differ diff --git a/n_back_single_task_network__practice/style.css b/n_back_single_task_network__practice/style.css index e0f06c6f7..83c03abb6 100644 --- a/n_back_single_task_network__practice/style.css +++ b/n_back_single_task_network__practice/style.css @@ -83,51 +83,40 @@ background-color: none; text-align: center; } -/* .instructBox { - width: 80vw; - height: 10vw; - position:absolute; - top:10%; - left:50%; - margin-right: 0%; - transform: translate(-50%,-50%); - background-color: none; - font-size: 24px; -} */ +/* MODIFIED FOR IN-PERSON PRACTICE */ +.upperbox { + width:35vw; + height: 20vw; + position:absolute; + top:50%; + left:50%; + margin-right:-50%; + transform: translate(-50%, -100%); +} -/* taken from stop_signal__fmri */ .instructbox { width: 50vw; height: 60vh; position:absolute; - top:45%; + top:35%; left:50%; margin-right:-50%; transform: translate(-50%,-50%); text-align: center; } -/* .instruct-text { - width:100%; - text-align: center; - margin: 0 auto; - margin-bottom: 1em; - font-size: 30px; - line-height: 120%; - color: white; -} */ .instruct-text { width:100%; text-align: left; margin: 0 auto; margin-bottom: 1em; - font-size: 35px; + font-size: 28px; line-height: 120%; color: white; } -/* ul { + ul { list-style-type: none; text-align: center; display: inline-block; @@ -135,14 +124,8 @@ text-align: center; line-height: 120%; margin-bottom: 1em; color: white -} */ +} -ul { - list-style-type: none; - text-align: center; - display: inline-block; - color: white -} /* ************************* */ .prompt_box { diff --git a/shape_matching_single_task_network__fmri/experiment.js b/shape_matching_single_task_network__fmri/experiment.js index 7dcf488ff..f138b49f1 100644 --- a/shape_matching_single_task_network__fmri/experiment.js +++ b/shape_matching_single_task_network__fmri/experiment.js @@ -33,7 +33,7 @@ function getITI_resp() { //added for fMRI compatibility //feedback functions added for in-person version var getRefreshFeedback = function() { - return '' + refresh_feedback_text + '
' + refresh_feedback_text + '
' + feedback_text + '
' + feedback_text + '
In this task, you will see a gray shape on the right of the screen and a black shape on the left of the screen. Your task is to press your middle finger if they are the same shape and your index finger if they are different.
'+ - 'On some trials a white shape will also be presented on the left. You should ignore the white shape — your task is only to respond based on whether the gray and black shapes are the same.
'+ + 'In this task, you will see a gray shape on the right of the screen and a black shape on the left of the screen.
'+ + 'Your task is to press your middle finger if they are the same shape and your index finger if they are different.
'+ + 'On some trials a white shape will also be presented on the left. You should ignore the white shape. Your task is only to respond based on whether the gray and black shapes are the same.
'+ 'During practice, you will see a reminder of the rules. This will be removed for the test.
'+ 'To let the experimenters know when you are ready to begin, please press any button.
'+ '' + practice_feedback_text + '
' + practice_feedback_text + '
' + feedback_text + '
' + feedback_text + '
In this task, you will see a gray shape on the right of the screen and a black shape on the left of the screen. Your task is to press your middle finger if they are the same shape and your index finger if they are different.
'+ - 'On some trials a white shape will also be presented on the left. You should ignore the white shape — your task is only to respond based on whether the gray and black shapes are the same.
'+ - 'During practice, you will see a reminder of the rules. This will be removed for the test.
'+ - 'When you are ready to begin, please press the spacebar.
'+ + 'In this task, you will see a gray shape on the right of the screen and a black shape on the left of the screen.
'+ + 'Your task is to press your middle finger if they are the same shape and your index finger if they are different.
'+ + 'On some trials a white shape will also be presented on the left. You should ignore the white shape — your task is only to respond based on whether the gray and black shapes are the same.
'+ + 'During practice, you will see a reminder of the rules. This will be removed for the test.
'+ + 'When you are ready to begin, please press the spacebar.
'+ 'Done with this practice. The test will begin shortly.' + '
Done with this practice. The test will begin shortly.' trial_types = jsPsych.randomization.repeat(['SSS', 'SDD', 'SNN', 'DSD', 'DDD', 'DDS', 'DNN'],numTrialsPerBlock/7) return false } else if (accuracy < accuracy_thresh){ practice_feedback_text += - '
We are going to try practice again to see if you can achieve higher accuracy. Remember:
' + prompt_task_list
+ '
We are going to try practice again to see if you can achieve higher accuracy. Remember:
' + prompt_task_list
if (missed_responses > missed_thresh){
practice_feedback_text +=
- '
You have not been responding to some trials. Please respond on every trial that requires a response.' + '
You have not been responding to some trials. Please respond on every trial that requires a response.' } if (ave_rt > rt_thresh){ practice_feedback_text += - '
You have been responding too slowly.' + '
You have been responding too slowly.' } if (practiceCount == practice_thresh){ practice_feedback_text += - '
Done with this practice.' + '
Done with this practice.' trial_types = jsPsych.randomization.repeat(['SSS', 'SDD', 'SNN', 'DSD', 'DDD', 'DDS', 'DNN'],numTrialsPerBlock/7) return false } practice_feedback_text += - '
Redoing this practice. When you are ready to continue, please press the spacebar.' + '
Redoing this practice. When you are ready to continue, please press the spacebar.' return true diff --git a/shape_matching_single_task_network__practice/style.css b/shape_matching_single_task_network__practice/style.css index 76221ab74..0bc5694d3 100644 --- a/shape_matching_single_task_network__practice/style.css +++ b/shape_matching_single_task_network__practice/style.css @@ -80,51 +80,39 @@ background-color: none; text-align: center; } -/* .instructBox { - width: 80vw; - height: 10vw; - position:absolute; - top:10%; - left:50%; - margin-right: 0%; - transform: translate(-50%,-50%); - background-color: none; - font-size: 24px; -} */ +/* MODIFIED FOR IN-PERSON PRACTICE */ +.upperbox { + width:35vw; + height: 20vw; + position:absolute; + top:50%; + left:50%; + margin-right:-50%; + transform: translate(-50%, -100%); +} -/* taken from stop_signal__fmri */ .instructbox { width: 50vw; height: 60vh; position:absolute; - top:45%; + top:35%; left:50%; margin-right:-50%; transform: translate(-50%,-50%); text-align: center; } -/* .instruct-text { - width:100%; - text-align: center; - margin: 0 auto; - margin-bottom: 1em; - font-size: 30px; - line-height: 120%; - color: white; -} */ - .instruct-text { width:100%; text-align: left; margin: 0 auto; margin-bottom: 1em; - font-size: 35px; + font-size: 28px; line-height: 120%; color: white; } -/* ul { + ul { list-style-type: none; text-align: center; display: inline-block; @@ -132,14 +120,14 @@ text-align: center; line-height: 120%; margin-bottom: 1em; color: white -} */ +} -ul { +/*ul { list-style-type: none; text-align: center; display: inline-block; color: white -} +}*/ /* ************************* */ diff --git a/stop_signal_single_task_network__fmri/experiment.js b/stop_signal_single_task_network__fmri/experiment.js index d9c1e4658..25332741d 100755 --- a/stop_signal_single_task_network__fmri/experiment.js +++ b/stop_signal_single_task_network__fmri/experiment.js @@ -33,7 +33,7 @@ function getITI_resp() { //added for fMRI compatibility //feedback functions added for in-person version var getRefreshFeedback = function() { - return '
' + refresh_feedback_text + '
' + refresh_feedback_text + '
' + feedback_text + '
' + feedback_text + '
In this task, you will see shapes appear on the screen one at a time.
' + 'Only one response is correct for each shape.
'+ -'If the shape is a '+shapes[0]+', press your '+possible_responses[0][0]+'.
'+ -'If the shape is a '+shapes[2]+', press your '+possible_responses[2][0]+'.
'+ +'If the shape is a '+shapes[0]+', press your '+possible_responses[0][0]+'.
'+ +'If the shape is a '+shapes[2]+', press your '+possible_responses[2][0]+'.
'+ //'You should respond as quickly and accurately as possible to each shape.
'+ 'On some trials, a star will appear around the shape. The star will appear with, or shortly after the shape appears.
'+ 'If you see a star appear, please try your best to withhold your response on that trial.
'+ diff --git a/stop_signal_single_task_network__fmri/style.css b/stop_signal_single_task_network__fmri/style.css index 418fdabff..22c566d73 100644 --- a/stop_signal_single_task_network__fmri/style.css +++ b/stop_signal_single_task_network__fmri/style.css @@ -81,56 +81,45 @@ background-color: none; text-align: center; } -/* .instructBox { - width: 80vw; - height: 10vw; - position:absolute; - top:10%; - left:50%; - margin-right: 0%; - transform: translate(-50%,-50%); - background-color: none; - font-size: 24px; -} */ +/*MODIFIED FOR IN SCANNER PRESENTATIONS*/ +.upperbox { + width:35vw; + height: 20vw; + position:absolute; + top:50%; + left:50%; + margin-right:-50%; + transform: translate(-50%, -100%); +} -/* taken from stop_signal__fmri */ .instructbox { - width: 50vw; + width: 70vw; height: 60vh; position:absolute; - top:45%; + top:40%; left:50%; margin-right:-50%; transform: translate(-50%,-50%); text-align: center; } -/* .instruct-text { - width:100%; - text-align: center; - margin: 0 auto; - margin-bottom: 1em; - font-size: 30px; - line-height: 120%; - color: white; -} */ -/* .instruct-text { - width:100%; - text-align: left; - margin: 0 auto; - margin-bottom: 1em; - font-size: 35px; - line-height: 120%; - color: white; -} */ +.center-text { + text-align:center; + font-size: 85px; + position: relative; + top: 50%; + -ms-transform: translateY(-50%); + -webkit-transform: translateY(-50%); + transform: translateY(-50%); +} .instruct-text { width:100%; text-align: left; margin: 0 auto; margin-bottom: 1em; - font-size: 30px; + font-size: 40px; line-height: 120%; color: white; } @@ -140,7 +129,7 @@ ul { list-style-type: none; text-align: center; display: inline-block; - font-size: 30px; + font-size: 40px; line-height: 120%; margin-bottom: 1em; color: white diff --git a/stop_signal_single_task_network__practice/experiment.js b/stop_signal_single_task_network__practice/experiment.js index 202287a3b..d3594b531 100755 --- a/stop_signal_single_task_network__practice/experiment.js +++ b/stop_signal_single_task_network__practice/experiment.js @@ -136,23 +136,23 @@ var getCategorizeFeedback = function(){ if (jsPsych.data.getDataByTrialIndex(curr_trial).key_press == jsPsych.data.getDataByTrialIndex(curr_trial).correct_response){ - return 'In this task, you will see shapes appear on the screen one at a time.
' + 'Only one response is correct for each shape.
'+ -'If the shape is a '+shapes[0]+', press your '+possible_responses[0][0]+'.
'+ -'If the shape is a '+shapes[2]+', press your '+possible_responses[2][0]+'.
'+ +'If the shape is a '+shapes[0]+', press your '+possible_responses[0][0]+'.
'+ +'If the shape is a '+shapes[2]+', press your '+possible_responses[2][0]+'.
'+ //'You should respond as quickly and accurately as possible to each shape.
'+ 'On some trials, a star will appear around the shape. The star will appear with, or shortly after the shape appears.
'+ 'If you see a star appear, please try your best to withhold your response on that trial.
'+ diff --git a/stop_signal_single_task_network__practice/style.css b/stop_signal_single_task_network__practice/style.css index 259d36c8e..3d9e9258a 100644 --- a/stop_signal_single_task_network__practice/style.css +++ b/stop_signal_single_task_network__practice/style.css @@ -81,59 +81,40 @@ background-color: none; text-align: center; } -/* .instructBox { - width: 80vw; - height: 10vw; - position:absolute; - top:10%; - left:50%; - margin-right: 0%; - transform: translate(-50%,-50%); - background-color: none; - font-size: 24px; -} */ -/* taken from stop_signal__fmri */ +/* MODIFIED FOR IN-PERSON PRACTICE */ +.upperbox { + width:35vw; + height: 20vw; + position:absolute; + top:50%; + left:50%; + margin-right:-50%; + transform: translate(-50%, -100%); +} + .instructbox { width: 50vw; height: 60vh; position:absolute; - top:45%; + top:23%; left:50%; margin-right:-50%; transform: translate(-50%,-50%); text-align: center; } -/* .instruct-text { - width:100%; - text-align: center; - margin: 0 auto; - margin-bottom: 1em; - font-size: 30px; - line-height: 120%; - color: white; -} */ .instruct-text { width:100%; text-align: left; margin: 0 auto; margin-bottom: 1em; - font-size: 35px; + font-size: 30px; line-height: 120%; color: white; } -/* ul { - list-style-type: none; - text-align: center; - display: inline-block; - font-size: 30px; - line-height: 120%; - margin-bottom: 1em; - color: white -} */ ul { list-style-type: none; text-align: center;