mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 19:20:55 +00:00
some changes
This commit is contained in:
parent
670b691da2
commit
cbb0643a95
@ -11,44 +11,44 @@
|
|||||||
</body>
|
</body>
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
var welcome_block = {
|
// var welcome_block = {
|
||||||
type: 'text',
|
// type: 'text',
|
||||||
text: '<p>Welcome to the Age Task. In this study you will ' +
|
// text: '<p>Welcome to the Age Task. In this study you will ' +
|
||||||
'complete an Implicit Association Test (IAT) in which you ' +
|
// 'complete an Implicit Association Test (IAT) in which you ' +
|
||||||
'will be asked to sort pictures and words into groups as ' +
|
// 'will be asked to sort pictures and words into groups as ' +
|
||||||
'fast as you can.</p><p>Press any key to begin.</p>',
|
// 'fast as you can.</p><p>Press any key to begin.</p>',
|
||||||
post_trial_gap: 1500
|
// timing_post_trial: 1500
|
||||||
};
|
// };
|
||||||
|
|
||||||
var category_block = {
|
// var category_block = {
|
||||||
type: 'text',
|
// type: 'text',
|
||||||
text: '<p>Next, you will use the "E" and "I" computer keys ' + 'to categorize items into groups as fast as you can. ' +
|
// text: '<p>Next, you will use the "E" and "I" computer keys ' + 'to categorize items into groups as fast as you can. ' +
|
||||||
'These are the four groups and the items that belong to each:<br><br>' +
|
// 'These are the four groups and the items that belong to each:<br><br>' +
|
||||||
'<strong>Good</strong>:<br>' + 'Fabulous, Excitement, Glorious, Cheerful, Cherish, ' +
|
// '<strong>Good</strong>:<br>' + 'Fabulous, Excitement, Glorious, Cheerful, Cherish, ' +
|
||||||
'Enjoy, Delightful, Joyous<br><br>' + '<strong>Bad</strong>:<br>' + 'Humiliate, ' +
|
// 'Enjoy, Delightful, Joyous<br><br>' + '<strong>Bad</strong>:<br>' + 'Humiliate, ' +
|
||||||
'Evil, Grief, Yucky, Detest, Poison, Abuse, Despise<br><br>' +
|
// 'Evil, Grief, Yucky, Detest, Poison, Abuse, Despise<br><br>' +
|
||||||
'<strong>Old</strong>:<br>' + "<img src='img/age/of1.jpg'></img> " +
|
// '<strong>Old</strong>:<br>' + "<img src='img/age/of1.jpg'></img> " +
|
||||||
"<img src='img/age/of2.jpg'></img> " + "<img src='img/age/of3.jpg'></img> " +
|
// "<img src='img/age/of2.jpg'></img> " + "<img src='img/age/of3.jpg'></img> " +
|
||||||
"<img src='img/age/om1.jpg'></img> " + "<img src='img/age/om2.jpg'></img> " +
|
// "<img src='img/age/om1.jpg'></img> " + "<img src='img/age/om2.jpg'></img> " +
|
||||||
"<img src='img/age/om3.jpg'></img><br><br>" + '<strong>Young</strong>:<br>' +
|
// "<img src='img/age/om3.jpg'></img><br><br>" + '<strong>Young</strong>:<br>' +
|
||||||
"<img src='img/age/yf1.jpg'></img> " + "<img src='img/age/yf4.jpg'></img> " +
|
// "<img src='img/age/yf1.jpg'></img> " + "<img src='img/age/yf4.jpg'></img> " +
|
||||||
"<img src='img/age/yf5.jpg'></img> " + "<img src='img/age/ym2.jpg'></img> " +
|
// "<img src='img/age/yf5.jpg'></img> " + "<img src='img/age/ym2.jpg'></img> " +
|
||||||
"<img src='img/age/ym3.jpg'></img> " + "<img src='img/age/ym5.jpg'></img><br><br>" +
|
// "<img src='img/age/ym3.jpg'></img> " + "<img src='img/age/ym5.jpg'></img><br><br>" +
|
||||||
"Press any key to continue.</p>",
|
// "Press any key to continue.</p>",
|
||||||
post_trial_gap: 1500
|
// timing_post_trial: 1500
|
||||||
};
|
// };
|
||||||
|
|
||||||
var instructions_block = {
|
// var instructions_block = {
|
||||||
type: 'text',
|
// type: 'text',
|
||||||
text: "<div style='position: absolute; top: 18%; left: 20%'><p>Press E for:<br><strong>OLD</strong></p></div>" +
|
// text: "<div style='position: absolute; top: 18%; left: 20%'><p>Press E for:<br><strong>OLD</strong></p></div>" +
|
||||||
"<div style='position: absolute; top: 18%; right: 20%'><p>Press I for:<br><strong>YOUNG</strong></p></div>" +
|
// "<div style='position: absolute; top: 18%; right: 20%'><p>Press I for:<br><strong>YOUNG</strong></p></div>" +
|
||||||
"<div style='position: relative; top: 42%; margin-left: auto; margin-right: auto'>Put a left finger on the <strong>E</strong> key for items that belong to the Old People category. Put a right finger on the " +
|
// "<div style='position: relative; top: 42%; margin-left: auto; margin-right: auto'>Put a left finger on the <strong>E</strong> key for items that belong to the Old People category. Put a right finger on the " +
|
||||||
"<strong>I</strong> key for items that belong to the Young People " +
|
// "<strong>I</strong> key for items that belong to the Young People " +
|
||||||
"category. Items will appear one at a time.<br><br>" + "If you " +
|
// "category. Items will appear one at a time.<br><br>" + "If you " +
|
||||||
"make a mistake, a red X will appear. Press the keys listed below " +
|
// "make a mistake, a red X will appear. Press the keys listed below " +
|
||||||
"to continue. Go as fast as you can while being accurate.<br><br> " +
|
// "to continue. Go as fast as you can while being accurate.<br><br> " +
|
||||||
"Press the any key when you are ready to start.</div>",
|
// "Press the any key when you are ready to start.</div>",
|
||||||
};
|
// };
|
||||||
|
|
||||||
|
|
||||||
var trial_block = {
|
var trial_block = {
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
**/
|
**/
|
||||||
|
|
||||||
|
|
||||||
jsPsych.plugins["iat-html"] = (function() {
|
jsPsych.plugins['iat-html'] = (function() {
|
||||||
|
|
||||||
var plugin = {};
|
var plugin = {};
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
**/
|
**/
|
||||||
|
|
||||||
|
|
||||||
jsPsych.plugins["iat-image"] = (function() {
|
jsPsych.plugins['iat-image'] = (function() {
|
||||||
|
|
||||||
var plugin = {};
|
var plugin = {};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user