-
Notifications
You must be signed in to change notification settings - Fork 4
/
hierarchical_rule.html
47 lines (40 loc) · 1.6 KB
/
hierarchical_rule.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!DOCTYPE html><html class=''>
<head>
<meta charset='UTF-8'>
<meta name="robots" content="noindex">
<title>The Experiment Factory: Preview</title>
<link rel='stylesheet' type='text/css' href='static/css/jspsych.css'>
<link rel='stylesheet' type='text/css' href='static/css/default_style.css'>
<link rel='stylesheet' type='text/css' href='static/experiments/hierarchical_rule/style.css'>
</head>
<body>
<script src='//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='static/js/math.min.js'></script>
<script src='static/js/jspsych/jspsych.js'></script>
<script src='static/js/jspsych/plugins/jspsych-text.js'></script>
<script src='static/js/jspsych/poldrack_plugins/jspsych-poldrack-text.js'></script>
<script src='static/js/jspsych/poldrack_plugins/jspsych-poldrack-instructions.js'></script>
<script src='static/js/jspsych/poldrack_plugins/jspsych-attention-check.js'></script>
<script src='static/js/jspsych/poldrack_plugins/jspsych-poldrack-single-stim.js'></script>
<script src='static/js/jspsych/plugins/jspsych-survey-text.js'></script>
<script src='static/js/utils/poldrack_utils.js'></script>
<script src='static/experiments/hierarchical_rule/experiment.js'></script>
<script>
$( document ).ready(function() {
expfactory_finished = false;
jsPsych.init({
timeline: hierarchical_rule_experiment,
display_element: "getDisplayElement",
fullscreen: true,
on_trial_finish: function(data){
addID('hierarchical_rule')
},
on_finish: function(data){
jsPsych.data.localSave('hierarchical_rule_results.csv', 'csv');
expfactory_finished = true;
}
});
});
</script>
</body>
</html>