mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-12 16:48:12 +00:00
updating minor details in tutorial
This commit is contained in:
parent
af466e78c5
commit
c81b1a3fa8
@ -17,21 +17,25 @@
|
||||
<div id="jspsych_target"></div>
|
||||
</body>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
// Experiment parameters
|
||||
var n_trials = 20;
|
||||
var stimuli = ["img/congruent_left.gif", "img/congruent_right.gif", "img/incongruent_left.gif", "img/incongruent_right.gif"];
|
||||
var stimuli_types = ["congruent", "congruent", "incongruent", "incongruent"];
|
||||
|
||||
// Experiment Instructions
|
||||
var welcome_message = '<div id="instructions"><p>Welcome to the experiment. Press enter to begin.</p></div>';
|
||||
var welcome_message = "<div id='instructions'><p>Welcome to the " +
|
||||
"experiment. Press enter to begin.</p></div>";
|
||||
|
||||
var instructions = '<div id="instructions"><p>You will see a series of images that look similar to this:</p>\
|
||||
<p><img src="img/incongruent_right.gif"></p><p>Press the arrow key that corresponds to the direction that\
|
||||
the middle arrow is pointing. For example, in this case you would press the right arrow key.</p>\
|
||||
<p>Press enter to start.</p>';
|
||||
var instructions = "<div id='instructions'><p>You will see a " +
|
||||
"series of images that look similar to this:</p><p>" +
|
||||
"<img src='img/incongruent_right.gif'></p><p>Press the arrow " +
|
||||
"key that corresponds to the direction that the middle arrow " +
|
||||
"is pointing. For example, in this case you would press the " +
|
||||
"right arrow key.</p><p>Press enter to start.</p>";
|
||||
|
||||
var debrief = '<div id="instructions"><p>Thank you for participating! Press enter to see the data.</p></div>';
|
||||
var debrief = "<div id='instructions'><p>Thank you for " +
|
||||
"participating! Press enter to see the data.</p></div>";
|
||||
|
||||
// Generating Random Order for Stimuli
|
||||
var stimuli_random_order = [];
|
||||
|
@ -13,14 +13,17 @@
|
||||
<body>
|
||||
<div id="jspsych_target"></div>
|
||||
</body>
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
// Experiment Instructions
|
||||
var welcome_message = '<div id="instructions"><p>Welcome to the experiment. Press enter to begin.</p></div>';
|
||||
var welcome_message = "<div id='instructions'><p>Welcome to the " +
|
||||
"experiment. Press enter to begin.</p></div>";
|
||||
|
||||
var instructions = '<div id="instructions"><p>You will see a series of images that look similar to this:</p>\
|
||||
<p><img src="img/incongruent_right.gif"></p><p>Press the arrow key that corresponds to the direction that\
|
||||
the middle arrow is pointing. For example, in this case you would press the right arrow key.</p>\
|
||||
<p>Press enter to start.</p>';
|
||||
var instructions = "<div id='instructions'><p>You will see a " +
|
||||
"series of images that look similar to this:</p><p>" +
|
||||
"<img src='img/incongruent_right.gif'></p><p>Press the arrow " +
|
||||
"key that corresponds to the direction that the middle arrow " +
|
||||
"is pointing. For example, in this case you would press the " +
|
||||
"right arrow key.</p><p>Press enter to start.</p>";
|
||||
|
||||
|
||||
// Define experiment blocks
|
||||
|
Loading…
Reference in New Issue
Block a user