mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
update examples
This commit is contained in:
parent
e347fe1f75
commit
1e9e6fc54a
@ -1,21 +1,21 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|
||||||
<script src="../jspsych.js"></script>
|
<script src="../jspsych.js"></script>
|
||||||
<script src="../plugins/jspsych-text.js"></script>
|
<script src="../plugins/jspsych-text.js"></script>
|
||||||
<link rel="stylesheet" href="../css/jspsych.css"></link>
|
<link rel="stylesheet" href="../css/jspsych.css"></link>
|
||||||
</head>
|
</head>
|
||||||
|
<body></body>
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
var first = {
|
var first = {
|
||||||
type: 'text',
|
type: 'text',
|
||||||
text: 'first trial! experiment will pause for 4s in between trials. press any key.',
|
text: 'first trial! experiment will pause for 2s in between trials. press any key.',
|
||||||
timing_post_trial: 0,
|
timing_post_trial: 0,
|
||||||
on_finish: function(){
|
on_finish: function(){
|
||||||
jsPsych.pauseExperiment();
|
jsPsych.pauseExperiment();
|
||||||
setTimeout(jsPsych.resumeExperiment, 4000);
|
setTimeout(jsPsych.resumeExperiment, 2000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
width: 300px;
|
width: 300px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<body></body>
|
||||||
<script>
|
<script>
|
||||||
var trial_1 = {
|
var trial_1 = {
|
||||||
type: 'single-stim',
|
type: 'single-stim',
|
||||||
|
Loading…
Reference in New Issue
Block a user