Übungsaufgabe: TestÜbung: Unterschied zwischen den Versionen

Aus Dornheim Anatomy
Wechseln zu:Navigation, Suche
K (skript)
K (Formatierung, Skript)
Zeile 15: Zeile 15:
  
 
<tr>
 
<tr>
<td>[segmenter_snapshot Ventral 1] 01 [/]</td><td><label for="Eingabetext1">Antwort: </label><input type="text" id="Eingabetext1"><p><output type="text" name="outputa" id="output1"></output></p><div class=out><p hidden=true> Lösung im [segmenter_snapshot Ventral 17]"WebViewer"[/] anzeigen</p></div></td>
+
<td><segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="1"> 01 </segmenter_snapshot_link></td><td><label for="Eingabetext1">Antwort: </label><input type="text" id="Eingabetext1"><p><output type="text" name="outputa" id="output1"></output></p><div class=out><p hidden=true> Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="17">"WebViewer"</segmenter_snapshot_link> anzeigen</p></div></td>
<td>[segmenter_snapshot Ventral 2] 02 [/]</td><td><label for="Eingabetext2">Antwort: </label><input type="text" id="Eingabetext2"><p><output type="text" name="outputb" id="output2"></output></p><div class=out><p hidden=true>Lösung im [segmenter_snapshot Ventral 18]"WebViewer"[/] anzeigen</p></div></td>
+
<td><segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="2"> 02 </segmenter_snapshot_link></td><td><label for="Eingabetext2">Antwort: </label><input type="text" id="Eingabetext2"><p><output type="text" name="outputb" id="output2"></output></p><div class=out><p hidden=true>Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="18">"WebViewer"</segmenter_snapshot_link> anzeigen</p></div></td>
<td>[segmenter_snapshot Ventral 3] 03  [/]</td><td><label for="Eingabetext3">Antwort: </label><input type="text" id="Eingabetext3"><p><output type="text" name="outputc" id="output3"></output></p><div class=out><p hidden=true >Lösung im [segmenter_snapshot Ventral 19]"WebViewer"[/] anzeigen</p></div></td>
+
<td><segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="3"> 03  </segmenter_snapshot_link></td><td><label for="Eingabetext3">Antwort: </label><input type="text" id="Eingabetext3"><p><output type="text" name="outputc" id="output3"></output></p><div class=out><p hidden=true >Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="19">"WebViewer"</segmenter_snapshot_link> anzeigen</p></div></td>
 
</tr>
 
</tr>
  
 
<tr>
 
<tr>
<td>|[segmenter_snapshot Ventral 4] 04  [/]</td><td><label for="Eingabetext4">Antwort: </label><input type="text" id="Eingabetext4"><p><output type="text" name="outputd" id="output4"></output></p><div class=out><p hidden=true >Lösung im [segmenter_snapshot Ventral 20]"WebViewer"[/] anzeigen</p></div></td>
+
<td><segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="4"> 04  </segmenter_snapshot_link></td><td><label for="Eingabetext4">Antwort: </label><input type="text" id="Eingabetext4"><p><output type="text" name="outputd" id="output4"></output></p><div class=out><p hidden=true >Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="20">"WebViewer"</segmenter_snapshot_link> anzeigen</p></div></td>
<td>[segmenter_snapshot Ventral 5] 05  [/]</td><td><label for="Eingabetext5">Antwort: </label><input type="text" id="Eingabetext5"><p><output type="text" name="outpute" id="output5"></output></p><div class=out><p hidden=true >Lösung im [segmenter_snapshot Ventral 21]"WebViewer"[/] anzeigen</p></div></td>
+
<td><segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="5"> 05  </segmenter_snapshot_link></td><td><label for="Eingabetext5">Antwort: </label><input type="text" id="Eingabetext5"><p><output type="text" name="outpute" id="output5"></output></p><div class=out><p hidden=true >Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="21">"WebViewer"</segmenter_snapshot_link> anzeigen</p></div></td>
<td>[segmenter_snapshot Ventral 6] 06  [/]</td><td><label for="Eingabetext6">Antwort: </label><input type="text" id="Eingabetext6"><p><output type="text" name="outputf" id="output6"></output></p><div class=out><p hidden=true >Lösung im [segmenter_snapshot Ventral 22]"WebViewer"[/] anzeigen</p></div></td>
+
<td><segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="6"> 06  </segmenter_snapshot_link></td><td><label for="Eingabetext6">Antwort: </label><input type="text" id="Eingabetext6"><p><output type="text" name="outputf" id="output6"></output></p><div class=out><p hidden=true >Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="22">"WebViewer"</segmenter_snapshot_link> anzeigen</p></div></td>
 
</tr>
 
</tr>
  
 
<tr>
 
<tr>
<td>[segmenter_snapshot Ventral 7] 07  [/]</td><td><label for="Eingabetext7">Antwort: </label><input type="text" id="Eingabetext7"><p><output type="text" name="outputg" id="output7"></output></p><div class=out><p hidden=true >Lösung im [segmenter_snapshot Ventral 23]"WebViewer"[/] anzeigen</p></div></td>
+
<td><segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="7"> 07  </segmenter_snapshot_link></td><td><label for="Eingabetext7">Antwort: </label><input type="text" id="Eingabetext7"><p><output type="text" name="outputg" id="output7"></output></p><div class=out><p hidden=true >Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="23">"WebViewer"</segmenter_snapshot_link> anzeigen</p></div></td>
<td>[segmenter_snapshot Ventral 8] 08  [/]</td><td><label for="Eingabetext8">Antwort: </label><input type="text" id="Eingabetext8"><p><output type="text" name="outputh" id="output8"></output></p><div class=out><p hidden=true >Lösung im [segmenter_snapshot Ventral 24]"WebViewer"[/] anzeigen</p></div></td>
+
<td><segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="8"> 08  </segmenter_snapshot_link></td><td><label for="Eingabetext8">Antwort: </label><input type="text" id="Eingabetext8"><p><output type="text" name="outputh" id="output8"></output></p><div class=out><p hidden=true >Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="24">"WebViewer"</segmenter_snapshot_link> anzeigen</p></div></td>
<td>[segmenter_snapshot Ventral 9] 09  [/]</td><td><label for="Eingabetext9">Antwort: </label><input type="text" id="Eingabetext9"><p><output type="text" name="outputi" id="output9"></output></p><div class=out><p hidden=true >Lösung im [segmenter_snapshot Ventral 25]"WebViewer"[/] anzeigen</p></div></td>
+
<td><segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="9"> 09  </segmenter_snapshot_link></td><td><label for="Eingabetext9">Antwort: </label><input type="text" id="Eingabetext9"><p><output type="text" name="outputi" id="output9"></output></p><div class=out><p hidden=true >Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="25">"WebViewer"</segmenter_snapshot_link> anzeigen</p></div></td>
 
</tr>
 
</tr>
  
 
<tr>
 
<tr>
<td>|[segmenter_snapshot Ventral 10] 10  [/]</td><td><label for="Eingabetext10">Antwort: </label><input type="text" id="Eingabetext10"><p><output type="text" name="outputj" id="output10"></output></p><div class=out><p hidden=true >Lösung im [segmenter_snapshot Ventral 26]"WebViewer"[/] anzeigen</p></div></td>
+
<td><segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="10"> 10  </segmenter_snapshot_link></td><td><label for="Eingabetext10">Antwort: </label><input type="text" id="Eingabetext10"><p><output type="text" name="outputj" id="output10"></output></p><div class=out><p hidden=true >Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="26">"WebViewer"</segmenter_snapshot_link> anzeigen</p></div></td>
<td>[segmenter_snapshot Ventral 11] 11  [/]</td><td><label for="Eingabetext11">Antwort: </label><input type="text" id="Eingabetext11"><p><output type="text" name="outputk" id="output11"></output></p><div class=out><p hidden=true >Lösung im [segmenter_snapshot Ventral 27]"WebViewer"[/] anzeigen</p></div></td>
+
<td><segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="11"> 11  </segmenter_snapshot_link></td><td><label for="Eingabetext11">Antwort: </label><input type="text" id="Eingabetext11"><p><output type="text" name="outputk" id="output11"></output></p><div class=out><p hidden=true >Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="27">"WebViewer"</segmenter_snapshot_link> anzeigen</p></div></td>
<td>[segmenter_snapshot Ventral 12] 12  [/]</td><td><label for="Eingabetext12">Antwort: </label><input type="text" id="Eingabetext12"><p><output type="text" name="outputl" id="output12"></output></p><div class=out><p hidden=true >Lösung im [segmenter_snapshot Ventral 28]"WebViewer"[/] anzeigen</p></div></td>
+
<td><segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="12"> 12  </segmenter_snapshot_link></td><td><label for="Eingabetext12">Antwort: </label><input type="text" id="Eingabetext12"><p><output type="text" name="outputl" id="output12"></output></p><div class=out><p hidden=true >Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="28">"WebViewer"</segmenter_snapshot_link> anzeigen</p></div></td>
 
</tr>
 
</tr>
  
 
<tr>
 
<tr>
<td>[segmenter_snapshot Ventral 13] 13  [/]</td><td><label for="Eingabetext13">Antwort: </label><input type="text" id="Eingabetext13"><p><output type="text" name="outputm" id="output13"></output></p><div class=out><p hidden=true >Lösung im [segmenter_snapshot Ventral 29]"WebViewer"[/] anzeigen</p></div></td>
+
<td><segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="13"> 13  </segmenter_snapshot_link></td><td><label for="Eingabetext13">Antwort: </label><input type="text" id="Eingabetext13"><p><output type="text" name="outputm" id="output13"></output></p><div class=out><p hidden=true >Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="29">"WebViewer"</segmenter_snapshot_link> anzeigen</p></div></td>
<td>[segmenter_snapshot Ventral 14] 14  [/]</td><td><label for="Eingabetext14">Antwort: </label><input type="text" id="Eingabetext14"><p><output type="text" name="outputn" id="output14"></output></p><div class=out><p hidden=true >Lösung im [segmenter_snapshot Ventral 30]"WebViewer"[/] anzeigen</p></div></td>
+
<td><segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="14"> 14  </segmenter_snapshot_link></td><td><label for="Eingabetext14">Antwort: </label><input type="text" id="Eingabetext14"><p><output type="text" name="outputn" id="output14"></output></p><div class=out><p hidden=true >Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="30">"WebViewer"</segmenter_snapshot_link> anzeigen</p></div></td>
<td>
+
<td><segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="15"> 15  </segmenter_snapshot_link></td><td><label for="Eingabetext15">Antwort: </label><input type="text" id="Eingabetext15"><p><output type="text" name="outputo" id="output15"></output></p><div class=out><p hidden=true >Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="31">"WebViewer"</segmenter_snapshot_link> anzeigen</p></div></td>
[segmenter_snapshot Ventral 15] 15  [/]</td><td><label for="Eingabetext15">Antwort: </label><input type="text" id="Eingabetext15"><p><output type="text" name="outputo" id="output15"></output></p><div class=out><p hidden=true >Lösung im [segmenter_snapshot Ventral 31]"WebViewer"[/] anzeigen</p></div></td>
 
 
</tr>
 
</tr>
  
 
<tr>
 
<tr>
<td>[segmenter_snapshot Ventral 16] 16  [/]</td><td><label for="Eingabetext16">Antwort: </label><input type="text" id="Eingabetext16"><p><output type="text" name="outputp" id="output16"></output></p><div class=out><p hidden=true >Lösung im [segmenter_snapshot Ventral 32]"WebViewer"[/] anzeigen</p></div></td>
+
<td><segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="16"> 16  </segmenter_snapshot_link></td><td><label for="Eingabetext16">Antwort: </label><input type="text" id="Eingabetext16"><p><output type="text" name="outputp" id="output16"></output></p><div class=out><p hidden=true >Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="32">"WebViewer"</segmenter_snapshot_link> anzeigen</p></div></td>
 +
<td></td>
 +
<td></td>
 +
<td></td>
 +
<td></td>
 
</tr>
 
</tr>
  
Zeile 63: Zeile 66:
  
  
'use strict';
+
<!--'use strict';-->
 +
$ (function() {
 
document.addEventListener("DOMContentLoaded", function () {
 
document.addEventListener("DOMContentLoaded", function () {
 
 
  document.getElementById("AnatomieCheck").addEventListener("click", loesung);
+
document.getElementById("AnatomieCheck").addEventListener("click", loesung);
  document.getElementById("navigation").addEventListener("click", nav);
+
document.getElementById("navigation").addEventListener("click", nav);
 
    
 
    
 
    
 
    
  function loesung () {
+
function loesung () {
 
        
 
        
    var wort1 = document.getElementById('Eingabetext1').value;   
+
var wort1 = document.getElementById('Eingabetext1').value;   
    var wort2 = document.getElementById('Eingabetext2').value;
+
var wort2 = document.getElementById('Eingabetext2').value;
    var wort3 = document.getElementById('Eingabetext3').value;
+
var wort3 = document.getElementById('Eingabetext3').value;
    var wort4 = document.getElementById('Eingabetext4').value;
+
var wort4 = document.getElementById('Eingabetext4').value;
    var wort5 = document.getElementById('Eingabetext5').value;
+
var wort5 = document.getElementById('Eingabetext5').value;
    var wort6 = document.getElementById('Eingabetext6').value;
+
var wort6 = document.getElementById('Eingabetext6').value;
    var wort7 = document.getElementById('Eingabetext7').value;
+
var wort7 = document.getElementById('Eingabetext7').value;
    var wort8 = document.getElementById('Eingabetext8').value;
+
var wort8 = document.getElementById('Eingabetext8').value;
    var wort9 = document.getElementById('Eingabetext9').value;
+
var wort9 = document.getElementById('Eingabetext9').value;
    var wort10 = document.getElementById('Eingabetext10').value;
+
var wort10 = document.getElementById('Eingabetext10').value;
    var wort11 = document.getElementById('Eingabetext11').value;
+
var wort11 = document.getElementById('Eingabetext11').value;
    var wort12 = document.getElementById('Eingabetext12').value;
+
var wort12 = document.getElementById('Eingabetext12').value;
    var wort13 = document.getElementById('Eingabetext13').value;
+
var wort13 = document.getElementById('Eingabetext13').value;
    var wort14 = document.getElementById('Eingabetext14').value;
+
var wort14 = document.getElementById('Eingabetext14').value;
    var wort15 = document.getElementById('Eingabetext15').value;
+
var wort15 = document.getElementById('Eingabetext15').value;
    var wort16 = document.getElementById('Eingabetext16').value;
+
var wort16 = document.getElementById('Eingabetext16').value;
 
      
 
      
 
     var Wort = [wort1, wort2, wort3, wort4, wort5, wort6, wort7, wort8, wort9, wort10, wort11, wort12, wort13, wort14, wort15, wort16];
 
     var Wort = [wort1, wort2, wort3, wort4, wort5, wort6, wort7, wort8, wort9, wort10, wort11, wort12, wort13, wort14, wort15, wort16];
Zeile 173: Zeile 177:
  
 
    
 
    
});
+
});}());

Version vom 10. Januar 2020, 09:14 Uhr

Beispiel: Texteingabe überprüfen

Name für anatomische Struktur

Geben Sie den anatomisch korrekten Begriff für die jeweilige Struktur ein.

NrKlickt auf die Nummer für die Aufgabenstellung und dann gebt die richtige Antwort ein
<segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="1"> 01 </segmenter_snapshot_link><label for="Eingabetext1">Antwort: </label><input type="text" id="Eingabetext1">

<output type="text" name="outputa" id="output1"></output>

Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="17">"WebViewer"</segmenter_snapshot_link> anzeigen

<segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="2"> 02 </segmenter_snapshot_link><label for="Eingabetext2">Antwort: </label><input type="text" id="Eingabetext2">

<output type="text" name="outputb" id="output2"></output>

Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="18">"WebViewer"</segmenter_snapshot_link> anzeigen

<segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="3"> 03 </segmenter_snapshot_link><label for="Eingabetext3">Antwort: </label><input type="text" id="Eingabetext3">

<output type="text" name="outputc" id="output3"></output>

Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="19">"WebViewer"</segmenter_snapshot_link> anzeigen

<segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="4"> 04 </segmenter_snapshot_link><label for="Eingabetext4">Antwort: </label><input type="text" id="Eingabetext4">

<output type="text" name="outputd" id="output4"></output>

Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="20">"WebViewer"</segmenter_snapshot_link> anzeigen

<segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="5"> 05 </segmenter_snapshot_link><label for="Eingabetext5">Antwort: </label><input type="text" id="Eingabetext5">

<output type="text" name="outpute" id="output5"></output>

Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="21">"WebViewer"</segmenter_snapshot_link> anzeigen

<segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="6"> 06 </segmenter_snapshot_link><label for="Eingabetext6">Antwort: </label><input type="text" id="Eingabetext6">

<output type="text" name="outputf" id="output6"></output>

Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="22">"WebViewer"</segmenter_snapshot_link> anzeigen

<segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="7"> 07 </segmenter_snapshot_link><label for="Eingabetext7">Antwort: </label><input type="text" id="Eingabetext7">

<output type="text" name="outputg" id="output7"></output>

Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="23">"WebViewer"</segmenter_snapshot_link> anzeigen

<segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="8"> 08 </segmenter_snapshot_link><label for="Eingabetext8">Antwort: </label><input type="text" id="Eingabetext8">

<output type="text" name="outputh" id="output8"></output>

Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="24">"WebViewer"</segmenter_snapshot_link> anzeigen

<segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="9"> 09 </segmenter_snapshot_link><label for="Eingabetext9">Antwort: </label><input type="text" id="Eingabetext9">

<output type="text" name="outputi" id="output9"></output>

Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="25">"WebViewer"</segmenter_snapshot_link> anzeigen

<segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="10"> 10 </segmenter_snapshot_link><label for="Eingabetext10">Antwort: </label><input type="text" id="Eingabetext10">

<output type="text" name="outputj" id="output10"></output>

Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="26">"WebViewer"</segmenter_snapshot_link> anzeigen

<segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="11"> 11 </segmenter_snapshot_link><label for="Eingabetext11">Antwort: </label><input type="text" id="Eingabetext11">

<output type="text" name="outputk" id="output11"></output>

Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="27">"WebViewer"</segmenter_snapshot_link> anzeigen

<segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="12"> 12 </segmenter_snapshot_link><label for="Eingabetext12">Antwort: </label><input type="text" id="Eingabetext12">

<output type="text" name="outputl" id="output12"></output>

Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="28">"WebViewer"</segmenter_snapshot_link> anzeigen

<segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="13"> 13 </segmenter_snapshot_link><label for="Eingabetext13">Antwort: </label><input type="text" id="Eingabetext13">

<output type="text" name="outputm" id="output13"></output>

Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="29">"WebViewer"</segmenter_snapshot_link> anzeigen

<segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="14"> 14 </segmenter_snapshot_link><label for="Eingabetext14">Antwort: </label><input type="text" id="Eingabetext14">

<output type="text" name="outputn" id="output14"></output>

Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="30">"WebViewer"</segmenter_snapshot_link> anzeigen

<segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="15"> 15 </segmenter_snapshot_link><label for="Eingabetext15">Antwort: </label><input type="text" id="Eingabetext15">

<output type="text" name="outputo" id="output15"></output>

Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="31">"WebViewer"</segmenter_snapshot_link> anzeigen

<segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="16"> 16 </segmenter_snapshot_link><label for="Eingabetext16">Antwort: </label><input type="text" id="Eingabetext16">

<output type="text" name="outputp" id="output16"></output>

Lösung im <segmenter_snapshot_link wsemb_id="my_segmenter_test_embedding" snapshot_index="32">"WebViewer"</segmenter_snapshot_link> anzeigen


<form name="Anatomie"> <button type="button" id="AnatomieCheck">Ergebnisse überprüfen</button> </form>



Übersicht Übungsaufgaben


$ (function() { document.addEventListener("DOMContentLoaded", function () {

document.getElementById("AnatomieCheck").addEventListener("click", loesung); document.getElementById("navigation").addEventListener("click", nav);


function loesung () {

var wort1 = document.getElementById('Eingabetext1').value; var wort2 = document.getElementById('Eingabetext2').value; var wort3 = document.getElementById('Eingabetext3').value; var wort4 = document.getElementById('Eingabetext4').value; var wort5 = document.getElementById('Eingabetext5').value; var wort6 = document.getElementById('Eingabetext6').value; var wort7 = document.getElementById('Eingabetext7').value; var wort8 = document.getElementById('Eingabetext8').value; var wort9 = document.getElementById('Eingabetext9').value; var wort10 = document.getElementById('Eingabetext10').value; var wort11 = document.getElementById('Eingabetext11').value; var wort12 = document.getElementById('Eingabetext12').value; var wort13 = document.getElementById('Eingabetext13').value; var wort14 = document.getElementById('Eingabetext14').value; var wort15 = document.getElementById('Eingabetext15').value; var wort16 = document.getElementById('Eingabetext16').value;

   var Wort = [wort1, wort2, wort3, wort4, wort5, wort6, wort7, wort8, wort9, wort10, wort11, wort12, wort13, wort14, wort15, wort16];
   
   var out1 = document.getElementById("output1");
   var out2 = document.getElementById("output2");
   var out3 = document.getElementById("output3");
   var out4 = document.getElementById("output4");
   var out5 = document.getElementById("output5");
   var out6 = document.getElementById("output6");
   var out7 = document.getElementById("output7");
   var out8 = document.getElementById("output8");
   var out9 = document.getElementById("output9");
   var out10 = document.getElementById("output10");
   var out11 = document.getElementById("output11");
   var out12 = document.getElementById("output12");
   var out13 = document.getElementById("output13");
   var out14 = document.getElementById("output14");
   var out15 = document.getElementById("output15");
   var out16 = document.getElementById("output16");
   var out = [out1, out2, out3, out4, out5, out6, out7, out8, out9, out10, out11, out12, out13, out14, out15, out16];
     
   var loesung1='V. pulmonalis sinistra';
   var loesung2='v. pulmonalis sinistra';
   var loesung3='A. subclavia sinistra';
   var loesung4='a. subclavia sinistra';
   var loesung5='A. carotis communis sinistra';
   var loesung6='a. carotis communis sinistra';
   var loesung7='Aorta ascendens';
   var loesung8='aorta ascendens';
   var loesung9='A. pulmonalis sinistra';
   var loesung10='a. pulmonalis sinistra';
   var loesung11='Ventriculus cordis sinister';
   var loesung12='ventriculus cordis sinister';
   var loesung13='Arcus aortae';
   var loesung14='arcus aortae';
   var loesung15='A. carotis communis sinistra';
   var loesung16='a. carotis communis sinistra';
   var loesung17='Aorta ascendens';
   var loesung18='aorta ascendens';
   var loesung19='Ventriculus cordis dexter';
   var loesung20='ventriculus cordis dexter';
   var loesung21='Auricula dextra';
   var loesung22='auricula dextra';
   var loesung23='V. cava superior';
   var loesung24='v. cava superior';
   var loesung25='Auricula sinistra';
   var loesung26='auricula sinistra';
   var loesung27='Truncus pulmonalis';
   var loesung28='truncus pulmonalis';
   var loesung29='V. cava inferior';
   var loesung30='v. cava inferior';
   var loesung31='Truncus brachio-cephalicus';
   var loesung32='truncus brachio-cephalicus';
   
   var loesung = [loesung1, loesung2, loesung3, loesung4, loesung5, loesung6, loesung7, loesung8, loesung9, loesung10, loesung11, loesung12, loesung13, loesung14, loesung15, loesung16, loesung17, loesung18, loesung19, loesung20, loesung21, loesung22, loesung23, loesung24, loesung25, loesung26, loesung27, loesung28, loesung29, loesung30, loesung31, loesung32]; 
   
   for (var i=0;i<=15;i++){
       var attribute = document.querySelectorAll(".out p")[i];
   attribute.removeAttribute("hidden");
   }
  
     for (var j=0;j<=15;j++){
   
    if (Wort[j] == loesung[2*j] || Wort[j] == loesung[2*j+1]) {
       
   
       out[j].value= "Richtig!";
       out[j].style.color = "green";
    } else {
       
       out[j].value = "Falsch!";
       out[j].style.color = "red";
    }
   }


 }
 function nav (){
 var attribute = document.getElementbyID("show");
 attribute.removeAttribute("hidden");
 }


});}());