mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-12 08:38:11 +00:00
remove example #404
This commit is contained in:
parent
2892c5369e
commit
52f5414ac4
@ -1,37 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title>Document</title>
|
|
||||||
<script src="../jspsych.js"></script>
|
|
||||||
<script src="../plugins/jspsych-survey-multi-picture.js"></script>
|
|
||||||
<link rel="stylesheet" href="../css/jspsych.css"></link>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
</body>
|
|
||||||
<script>
|
|
||||||
var questions = ["Please choose the picture which describes the following sentence: The dog is chased by the cat."]
|
|
||||||
var choices = [{
|
|
||||||
url: "http://www.gameswithwords.org/WhichEnglish/images/1_2.jpg",
|
|
||||||
label: ""
|
|
||||||
}, {
|
|
||||||
url: "http://www.gameswithwords.org/WhichEnglish/images/1_1.jpg",
|
|
||||||
label: ""
|
|
||||||
}]
|
|
||||||
var multi_choice_block = {
|
|
||||||
type: 'survey-multi-picture',
|
|
||||||
questions: questions,
|
|
||||||
options: [choices],
|
|
||||||
horizontal: true
|
|
||||||
};
|
|
||||||
jsPsych.init({
|
|
||||||
timeline: [multi_choice_block],
|
|
||||||
on_finish: function(data) {
|
|
||||||
jsPsych.data.displayData();
|
|
||||||
},
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</html>
|
|
Loading…
Reference in New Issue
Block a user