-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
133 lines (104 loc) · 4.37 KB
/
index.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Auditory Lexical Decision Experiment with Masked Visual Prime</title>
<script src="https://web-experiments.lab.hum.uu.nl/jspsych/7.0.0/jspsych.js"></script>
<script src="https://web-experiments.lab.hum.uu.nl/jspsych/7.0.0/plugin-html-keyboard-response.js"></script>
<script src="https://web-experiments.lab.hum.uu.nl/jspsych/7.0.0/plugin-html-button-response.js"></script>
<!-- Audio playback &response libraries (audio) -->
<script src="https://web-experiments.lab.hum.uu.nl/jspsych/7.0.0/plugin-audio-button-response.js"></script>
<script src="https://web-experiments.lab.hum.uu.nl/jspsych/7.0.0/plugin-audio-keyboard-response.js"></script>
<script src="https://web-experiments.lab.hum.uu.nl/jspsych/7.0.0/plugin-preload.js"></script>
<!-- Generic check/ask libraries (instructions & surveys) -->
<script src="https://web-experiments.lab.hum.uu.nl/jspsych/7.0.0/plugin-instructions.js"></script>
<script src="https://web-experiments.lab.hum.uu.nl/jspsych/7.0.0/plugin-survey-text.js"></script>
<script src="https://web-experiments.lab.hum.uu.nl/jspsych/7.0.0/plugin-survey-multi-select.js"></script>
<!-- Generic jspsych style sheet -->
<link href="https://web-experiments.lab.hum.uu.nl/jspsych/7.0.0/jspsych.css" rel="stylesheet" type="text/css"/>
<!-- UU fonts -->
<link href=https://web-experiments.lab.hum.uu.nl/jspsych/uil-utils/0.1/fonts.css rel="stylesheet" type="text/css"/>
<!-- Uil OTS libraries -->
<script type="module" src="https://web-experiments.lab.hum.uu.nl/jspsych/uil-utils/1.1/jspsych-uil-utils-import.js"></script>
<!-- Uil OTS organised -->
<script src="https://web-experiments.lab.hum.uu.nl/jspsych/uil-utils/1.1/jspsych-plugins/plugin-survey.js"></script>
<script src="globals.js"></script>
<script src="stimuli.js"></script>
<script src="instructions.js"></script>
<script src="soundtest.js"></script>
<script src="keyboard.js"></script>
<script src="consent.js"></script>
<script src="survey.js"></script>
<script src="ld_trials.js"></script>
<script src="main.js"></script>
<style>
.stimulus {
font-size: 30px;
font-family: monospace;
font-weight: normal;
}
.instruction {
text-align: left;
margin: 5% 10% 5% 10%;
}
kbd {
border-radius: 2px;
padding: 2px;
border: 1px solid black;
}
/* UU-like Link styles */
a {
color: rgb(33, 37, 41);
text-decoration: underline;
transition: 0.2s ease color;
}
a:hover {
transition: 0.2s ease color;
color: rgb(85, 85, 95);
}
span::after {
padding-left: 1%;
}
/* survey layout text-align */
.survey {
text-align: left !important;
}
.jspsych-survey-html-form {
text-align: left !important;
}
.jspsych-survey-multi-choice-question {
text-align: left !important;
}
.jspsych-survey-multi-choice-horizontal {
text-align: left !important;
}
.jspsych-survey-multi-choice-text {
text-align: left !important;
}
.jspsych-survey-multi-choice-option {
text-align: left !important;
}
/* valid input feedback (survey) */
input:invalid + span::after {
content: '✖';
}
input:valid+span::after {
content: '✓';
}
.feedback_incorrect {
color:red;
font-size:30px;
}
.feedback_correct {
color:green;
font-size:30px;
}
</style>
</head>
<body></body>
<script>
// Wait until the browser has loaded all files, then execute the
// contents of the main method
window.addEventListener('load', main);
</script>
</html>