-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
169 lines (151 loc) · 5.33 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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Mindgames MK II: Entry Point</title>
<style>
.form-container {
display: block;
margin: auto;
margin-top: 5%;
border: 1px solid #000000;
background: #1c6e97;
background: -webkit-gradient(linear, left top, left bottom, from(#9dd0e8), to(#1c6e97));
background: -webkit-linear-gradient(top, #9dd0e8, #1c6e97);
background: -moz-linear-gradient(top, #9dd0e8, #1c6e97);
background: -ms-linear-gradient(top, #9dd0e8, #1c6e97);
background: -o-linear-gradient(top, #9dd0e8, #1c6e97);
background-image: -ms-linear-gradient(top, #9dd0e8 0%, #1c6e97 100%);
border-radius: 8px;
-webkit-box-shadow: rgba(000,000,000,0.9) 0 1px 2px, inset rgba(255,255,255,0.4) 0 0px 0;
-moz-box-shadow: rgba(000,000,000,0.9) 0 1px 2px, inset rgba(255,255,255,0.4) 0 0px 0;
box-shadow: rgba(000,000,000,0.9) 0 1px 2px, inset rgba(255,255,255,0.4) 0 0px 0;
font-family: sans-serif;
text-decoration: none;
vertical-align: middle;
min-width:100px;
padding:20px;
max-width:350px;
}
.form-field {
border: 1px solid #000000;
background: #d6d6d6;
border-radius: 4px;
color: #000000;
-webkit-box-shadow: rgba(255,255,255,0.4) 0 1px 0, inset rgba(000,000,000,0.7) 0 0px 0px;
-moz-box-shadow: rgba(255,255,255,0.4) 0 1px 0, inset rgba(000,000,000,0.7) 0 0px 0px;
box-shadow: rgba(255,255,255,0.4) 0 1px 0, inset rgba(000,000,000,0.7) 0 0px 0px;
padding:2%;
width : 95%;
}
.form-field:focus {
background: #fff;
color: #000000;
}
#copyToClipboard {
width: 12%;
min-width: 65px
}
.form-title {
margin-bottom:10px;
color: #000000;
}
.submit-container {
margin:1%;
text-align:center;
}
#link-container {
margin-bottom:30px;
margin-top:10px;
}
#floatVal {
visibility: hidden;
font-weight: bold;
color: #ff0000;
}
.submit-button {
border: 1px solid #000000;
background: #8a8a8a;
background: -webkit-gradient(linear, left top, left bottom, from(#d9d9d9), to(#8a8a8a));
background: -webkit-linear-gradient(top, #d9d9d9, #8a8a8a);
background: -moz-linear-gradient(top, #d9d9d9, #8a8a8a);
background: -ms-linear-gradient(top, #d9d9d9, #8a8a8a);
background: -o-linear-gradient(top, #d9d9d9, #8a8a8a);
background-image: -ms-linear-gradient(top, #d9d9d9 0%, #8a8a8a 100%);
border-radius: 4px;
-webkit-box-shadow: rgba(255,255,255,0.4) 0 1px 0, inset rgba(255,255,255,0.4) 0 1px 0;
-moz-box-shadow: rgba(255,255,255,0.4) 0 1px 0, inset rgba(255,255,255,0.4) 0 1px 0;
box-shadow: rgba(255,255,255,0.4) 0 1px 0, inset rgba(255,255,255,0.4) 0 1px 0;
text-shadow: #869e6e 0 1px 0;
color: #000000;
font-family: sans-serif;
padding: 2%;
font-size: 14px;
text-decoration: none;
vertical-align: middle;
text-align: center;
}
#submitProper {
font-size: 20px;
}
.submit-button:hover {
border: 1px solid #000000;
text-shadow: #323330 0 1px 0;
background: #cc9600;
color: #fff;
}
.submit-button:active {
border: 1px solid #000000;
text-shadow: #323330 0 1px 0;
background: #cc9600;
background: -webkit-gradient(linear, left top, left bottom, from(#ffbf00), to(#cc9600));
background: -webkit-linear-gradient(top, #ffbf00, #cc9600);
background: -moz-linear-gradient(top, #ffbf00, #cc9600);
background: -ms-linear-gradient(top, #ffbf00, #cc9600);
background: -o-linear-gradient(top, #ffbf00, #cc9600);
background-image: -ms-linear-gradient(top, #ffbf00 0%, #cc9600 100%);
color: #fff;
}
body {
background-color: #2392ca;
margin: 0 0 0 0;
padding: 0 0 0 0;
}
</style>
<!--<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height" />-->
</head>
<body>
<form class="form-container">
<div class="form-title">
<h2>Welcome to MindGames II</h2>
</div>
<p>
Hello!<br />This is the archived release of MindGames II. It is a demo of three Stop Signal Task variants: 1 control, 2 gamified, used in my study in 2018. Github code can be found <a href="https://github.com/jl9937/SingleSessionBoredomStudy">here</a>.<br/><br />Clicking the button below will send you randomly to one of the three task variants.
There's just a few things you need to know:<br />
<ul>
<li>Throughout the task there are lots of references to money, sadly the study is now over, so you'll just have to imagine getting rich instead</li>
<li>The task won't work on touchscreen devices. You need a keyboard!</li>
</ul>
<div class="submit-container">
<input class="submit-button" onclick="loadStudy()" value="Begin" id="submitProper" />
</div>
</form>
<script src="js/libs/jquery-3.2.0.min.js"></script>
<script src="js/Main.js"></script>
<script>
function loadStudy()
{
var randomID = guid();
window.location.href = "https://mindgamesmkii.firebaseapp.com/task.html?prolific_pid="+randomID;
};
function guid() {
function s4() {
return Math.floor((1 + Math.random()) * 0x10000)
.toString(16)
.substring(1);
}
return s4() + s4() + s4() + s4() + s4() + s4();
}
</script>
</body>
</html>