Music Quiz

Posted by: 邱小新 at 下午4:37:00 in
  1. Clap Your Hands
  2. Back To Black
  3. 6
  4. Queen
  5. Mars
  6. Marshall Mathers
  7. Axl Rose
  8. Bob Dylan
  9. Antonio Vivaldi
  10. Chester Bennington
  11. Holiday
  12. 1977
  13. Bon Jovi
  14. 1956
  15. Paul McCartney
  16. Bonn
錯一題

textarea include text

Posted by: 邱小新 at 上午10:52:00 in
<script language="JavaScript" type="text/javascript"> function includeTEXT() { var z, i, elmnt, file, xhttp, file_array, attr; /* Loop through a collection of all HTML elements: */ z = document.getElementsByTagName("*"); for (i = 0; i < z.length; i++) { elmnt = z[i]; /*search for elements with a certain atrribute:*/ file = elmnt.getAttribute("w3-include-html"); if (file) { file_array = file.split(";"); /* Make an HTTP request using the attribute value as the file name: */ xhttp = new XMLHttpRequest(); xhttp.onreadystatechange = function() { if (this.readyState == 4) { if (this.status == 200) {elmnt.value += this.responseText;} if (this.status == 404) {elmnt.value = "Page not found.";} /* Remove the attribute, and call this function once more: */ if (file_array.length > 1) { attr = ""; for (i=1; i<file_array.length; i++) attr += file_array[i]; elmnt.setAttribute("w3-include-html", attr) } else { elmnt.removeAttribute("w3-include-html"); } includeTEXT(); } } xhttp.open("GET", file_array[0], true); xhttp.send(); /* Exit the function: */ return; } } } </script> <body onload="initPage()"> <textarea cols="80" rows="30" wrap="off" w3-include-html="messages.0;messages"></textarea> </body>

任務解答收集

Posted by: 邱小新 at 下午5:25:00 in

Simple Maths Quiz

Posted by: 邱小新 at 下午4:44:00 in
  1. 1110
  2. 1
  3. 1.675
  4. 232
  5. 2.06
  6. 8
  7. 5700500
  8. 6
  9. 18.50
  10. 1.07