-
Notifications
You must be signed in to change notification settings - Fork 0
/
experimentmulti.html
32 lines (29 loc) · 1.34 KB
/
experimentmulti.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
<!doctype html>
<html>
<head>
<title>My experiment</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://cdn.rawgit.com/puhseechee/jpsych2/jpsychadd/noUiSlider.9.0.0/nouislider.js"></script>
<script src="https://cdn.rawgit.com/puhseechee/jpsych2/jpsychadd/jspsych-5.0/jspsych.js"></script>
<link href="https://cdn.rawgit.com/puhseechee/jpsych2/jpsychadd/jspsych-5.0/css/jspsych.css" rel="stylesheet" type="text/css"></link>
<script src="https://cdn.rawgit.com/puhseechee/jpsych2/jpsychadd/jspsych-5.0/plugins/jspsych-multirange-slider.js"></script>
<link href="https://cdn.rawgit.com/puhseechee/jpsych2/jpsychadd/noUiSlider.9.0.0/nouislider.css" rel="stylesheet" type="text/css"></link>
<link href="https://cdn.rawgit.com/puhseechee/jpsych2/jpsychadd/noUiSlider.9.0.0/nouislider.min.css" rel="stylesheet" type="text/css"></link>
</head>
<body>
</body>
<script>
var hello_trial = {
type: 'multirange-slider',
prompt: '<p>Hello world!<p>',
stimulus: 'img/blue.png',
intervals: 10,
};
jsPsych.init({
timeline: [ hello_trial ],
on_finish: function() {
jsPsych.data.displayData();
}
});
</script>
</html>