-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
145 lines (121 loc) · 5.05 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
134
135
136
137
138
139
140
141
142
143
144
145
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<script src="https://web-experiments.lab.hum.uu.nl/jspsych/7.1.2/jspsych.js"></script>
<script src="https://web-experiments.lab.hum.uu.nl/jspsych/7.1.2/plugin-preload.js"></script>
<script src="https://web-experiments.lab.hum.uu.nl/jspsych/7.1.2/plugin-html-button-response.js"></script>
<script src="https://web-experiments.lab.hum.uu.nl/jspsych/7.1.2/plugin-html-keyboard-response.js"></script>
<script src="https://web-experiments.lab.hum.uu.nl/jspsych/7.1.2/plugin-audio-keyboard-response.js"></script>
<script src="https://web-experiments.lab.hum.uu.nl/jspsych/7.1.2/plugin-audio-button-response.js"></script>
<script src="https://web-experiments.lab.hum.uu.nl/jspsych/7.1.2/plugin-image-keyboard-response.js"></script>
<script src="https://web-experiments.lab.hum.uu.nl/jspsych/7.1.2/plugin-webgazer-init-camera.js"></script>
<script src="https://web-experiments.lab.hum.uu.nl/jspsych/7.1.2/plugin-webgazer-calibrate.js"></script>
<script src="https://web-experiments.lab.hum.uu.nl/jspsych/7.1.2/plugin-webgazer-validate.js"></script>
<script src="https://web-experiments.lab.hum.uu.nl/jspsych/7.1.2/plugin-call-function.js"></script>
<script src="https://web-experiments.lab.hum.uu.nl/jspsych/7.1.2/plugin-fullscreen.js"></script>
<script src="https://web-experiments.lab.hum.uu.nl/jspsych/7.1.2/plugin-survey-multi-select.js"></script>
<script src="https://web-experiments.lab.hum.uu.nl/jspsych/7.1.2/plugin-survey-multi-choice.js"></script>
<script src="https://web-experiments.lab.hum.uu.nl/jspsych/7.1.2/plugin-survey-html-form.js"></script>
<script src="https://web-experiments.lab.hum.uu.nl/jspsych/7.1.2/extension-webgazer.js"></script>
<!-- Generic jspsych style sheet -->
<link rel="stylesheet" href="https://web-experiments.lab.hum.uu.nl/jspsych/7.1.2/jspsych.css" />
<!-- Uil OTS libraries -->
<script src="https://web-experiments.lab.hum.uu.nl/jspsych/uil-utils/0.1/jspsych-uil-utils.js"></script>
<!-- WebGazer -->
<script src="./webgazer/webgazer.js"></script>
<script>
webgazer.params.saveDataAcrossSessions = false;
</script>
<!-- Uil OTS organised -->
<script src="globals.js"></script>
<script src="consent.js"></script>
<script src="survey.js"></script>
<script src="stimuli.js"></script>
<script src="soundtest.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: '✓';
}
.jspsych-btn {
margin-bottom: 10px;
}
#calibration-point {
background: purple !important;
border:0px !important;
animation:expand;
animation-duration:1.2s;
}
.validation-point {
background: purple !important;
border:0px !important;
animation:expand;
animation-duration:1.2s;
}
@keyframes expand {
from {
transform:scale(3);
}
to {
transform:scale(1);
}
}
</style>
</head>
<body>
<script>
window.addEventListener('load', main);
</script>
</body>
</html>