forked from galmaimon/galmaimon.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexampleQIATnativeamer.js
More file actions
89 lines (83 loc) · 2.61 KB
/
exampleQIATnativeamer.js
File metadata and controls
89 lines (83 loc) · 2.61 KB
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
define(['pipAPI', 'https://cdn.jsdelivr.net/gh/baranan/minno-tasks@0.*/IAT/qualtrics/quiat8.js'], function(APIConstructor, iatExtension){
var API = new APIConstructor();
return iatExtension({
category1 : {
name : 'Native American', //Will appear in the data.
title : {
media : {word : 'Native American'}, //Name of the category presented in the task.
css : {color:'#31940F','font-size':'2em'}, //Style of the category title.
height : 4 //Used to position the "Or" in the combined block.
},
stimulusMedia : [ //Stimuli content as PIP's media objects
{image: 'native1.jpg'},
{image: 'native2.jpg'},
{image: 'native3.jpg'},
{image: 'native4.jpg'},
{image: 'native5.jpg'},
{image: 'native6.jpg'},
{image: 'native7.jpg'},
{image: 'native8.jpg'}
],
//Stimulus css (style)
stimulusCss : {color:'#31940F','font-size':'1.8em'}
},
category2 : {
name : 'White American', //Will appear in the data.
title : {
media : {word : 'White American'}, //Name of the category presented in the task.
css : {color:'#31940F','font-size':'2em'}, //Style of the category title.
height : 4 //Used to position the "Or" in the combined block.
},
stimulusMedia : [ //Stimuli content as PIP's media objects
{image: 'euro1.jpg'},
{image: 'euro2.jpg'},
{image: 'euro3.jpg'},
{image: 'euro4.jpg'},
{image: 'euro5.jpg'},
{image: 'euro6.jpg'},
{image: 'euro7.jpg'},
{image: 'euro8.jpg'}
],
//Stimulus css
stimulusCss : {color:'#31940F','font-size':'1.8em'}
},
attribute1 :
{
name : 'Foreign',
title : {
media : {word : 'Foreign'},
css : {color:'#0000FF','font-size':'1.8em'},
height : 4 //Used to position the "Or" in the combined block.
},
stimulusMedia : [ //Stimuli content as PIP's media objects
{image: 'world2.jpg'},
{image: 'world3.jpg'},
{image: 'world5.jpg'},
{image: 'world6.jpg'},
{image: 'world7.jpg'}
],
//Stimulus css
stimulusCss : {color:'#0000FF','font-size':'2.3em'}
},
attribute2 :
{
name : 'American',
title : {
media : {word : 'American'},
css : {color:'#0000FF','font-size':'1.8em'},
height : 4 //Used to position the "Or" in the combined block.
},
stimulusMedia : [ //Stimuli content as PIP's media objects
{image: 'us1.jpg'},
{image: 'us2.jpg'},
{image: 'us3.jpg'},
{image: 'us4.jpg'},
{image: 'us5.jpg'} ],
//Stimulus css
stimulusCss : {color:'#0000FF','font-size':'2.3em'}
},
base_url : {//Where are your images at?
image : 'https://baranan.github.io/minno-tasks/images/'
}
});
});