Apologies! You are using an outdated browser which lacks required capabilities. Please upgrade your browser to improve your experience.
Initializing. Please wait…
<span class="instruction">Select exercise!</span>
<<link "Dialog" "0x5">><</link>>
<<link "Coherence" "0x15">><</link>>
<<widget "dialog">>\
<<if Array.isArray($args[0])>>\
<<script>>
shuffler(State.variables.args[0]);
<</script>>
<<else>>
<<script>>
shuffler(State.variables.args);
<</script>>
<</if>>\
<span class="instruction">Drag and drop the sentences into the left box to reconstruct the dialog/text!</span>
<div id="dialogs_container">
<div id="left_container">
<ul></ul>
</div>
<div id="right_container"></div>
</div>
@@.btn1;<<button "Check">>
<<if orderCorrect>>\
<<goto "correct">>
<<else>>\
<<goto "incorrect">>\
<</if>>
<</button>>
<</widget>>
<<set $result to 0>>\
<<set $round = 0>>\
<<set $direction = []>>\
<<set $problems = []>>\
<<set $level = "">>\
<<set $userName to "">>\
<<set $userMail to "">>\
<<set $nameOK to false>>\
<<set $mailOK to false>>\
<<set $solved to false>>\<<set $focus = "A1: Dialog am Flughafen">>\
<<set _dialogsArray to [
"Is our flight delayed?",
"Yup. 1,5 hours aprox.",
"Not again! I#ll go to the shop and fetch something to eat.",
"Ok, can you bring me a bottle of water?",
"No problem."
]>>\
<<dialog _dialogsArray $level $focus>>
<<if passage() === "evaluation">>
<<set
_correct to [],
_incorrect to [];
$performance.path.forEach(function (v, i) {
var selector = "#" + v + "x" + (i + 1);
if ($performance.answerLog[i]) {
_correct.push(selector);
} else {
_incorrect.push(selector);
}
});
_correct to _correct.join(",");
_incorrect to _incorrect.join(",");
>>
<<addclass _correct "green">>
<<addclass _incorrect "red">>
<</if>>
<<prepend ".passage">>\
<div class="header">\
<img id="logo"
src="https://www.oesterreichinstitut.at/fileadmin/templates/img/logo_vienna.png">
</div>
<<if
_hint>>\
@@#hint;<<button "">><<toggleclass "#passageHint"
"show">\><<toggleclass "#hint"
"toggled">><</button>>@@\
<div id="passageHint">_hint</div>\
<</if>>\
<</prepend>>
<<set $focus = "A1 Brief">>\
<h1></h1>
<<set _dialogsArray to [
"Dear Danielle, ",
"thank you for your message." ,
"I am doing better. Just two more days for the weekend to come." ,
"I guess on Saturday, I'll be ready for training again.",
"Will you come to the gym as well?",
"I hope we meet." ,
"I miss you.",
"XOXO,",
"Milhouse."
]>>\
<<dialog _dialogsArray $level $focus>>You chose wisely!
<<link "back to start" "Auswahl">><</link>>You chose poorly!
<<link "back to start" "Auswahl">><</link>>