Created
June 16, 2015 18:28
-
-
Save yotamN/55de3316a3fc4633ba3f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title> | |
quiz | |
</title> | |
</head> | |
<body style="background-color:#FFFFCC; padding: 0;margin: 0;" > | |
<div style="background-color: #6699FF;"> | |
<font size=6 face="rockwell"> | |
<br> | |
    OLYMPUS | |
<br> | |
</font> | |
<br> | |
</div> | |
      <a href="INDEX.htm"><img src="home-img.jpg" width="90" height="70"/></a> | |
            <a href="information.htm"><img src="information_pic.png" width="70" height="50"/></a> | |
            <a href="register-check.htm"><img src="register_pic.jpg" width="80" height="50"/></a> | |
            <a href="pictures.htm"><img src="pictures_pic.png" width="65" height="55"></a> | |
<div dir="rtl"> | |
<meta charset="utf-8" /> | |
<h2> | |
                                          שאלון: | |
</h2> | |
<form name="formq"> | |
<h3> | |
                                                            | |
1. מי היה האל המרכזי:<div id="1"></div> | |
<br> | |
                                                            | |
<input type="radio" name="q1"> זאוס | |
<br> | |
                                                            | |
<input type="radio" name="q1"> אפרודיטה | |
<br> | |
                                                            | |
<input type="radio" name="q1"> הרה | |
<br> | |
<br> | |
                                                            | |
2. מי הייתה אישתו של זאוס:<div id="2"></div> | |
<br> | |
                                                            | |
<input type="radio" name="q2"> פרספונה | |
<br> | |
                                                            | |
<input type="radio" name="q2"> הרה | |
<br> | |
                                                            | |
<input type="radio" name="q2"> אתנה | |
<br> | |
<br> | |
                                                            | |
3. איך קראו להר האלים:<div id="3"></div> | |
<br> | |
                                                            | |
<input type="radio" name="q3"> חרמון | |
<br> | |
                                                            | |
<input type="radio" name="q3"> הימליה | |
<br> | |
                                                            | |
<input type="radio" name="q3"> אולימפוס | |
<br> | |
<br> | |
                                                            | |
4. מי הייתה אלת האהבה:<div id="4"></div> | |
<br> | |
                                                            | |
<input type="radio" name="q4"> אפרודיטה | |
<br> | |
                                                            | |
<input type="radio" name="q4"> אתנה | |
<br> | |
                                                            | |
<input type="radio" name="q4"> ארטמיס | |
<br> | |
<br> | |
                                                            | |
5. מי היה אל המלחמה:<div id="5"></div> | |
<br> | |
                                                            | |
<input type="radio" name="q5"> ארס | |
<br> | |
                                                            | |
<input type="radio" name="q5"> פוסידון | |
<br> | |
                                                            | |
<input type="radio" name="q5"> דיוניסוס | |
<br> | |
<br> | |
                                                            | |
6. מי היה בנם של זאוס והרה:<div id="6"></div> | |
<br> | |
                                                            | |
<input type="radio" name="q6"> פוסידון | |
<br> | |
                                                            | |
<input type="radio" name="q6"> הפייסטוס | |
<br> | |
                                                            | |
<input type="radio" name="q6"> הרמס | |
<br> | |
<br> | |
                                                            | |
7. מי היה אל השמש:<div id="7"></div> | |
<br> | |
                                                            | |
<input type="radio" name="q7"> הפייסטוס | |
<br> | |
                                                            | |
<input type="radio" name="q7"> ארטמיס | |
<br> | |
                                                            | |
<input type="radio" name="q7"> דמטר | |
<br> | |
<br> | |
                                                            | |
8. מי היה הבעל של אפרודיטה:<div id="8"></div> | |
<br> | |
                                                            | |
<input type="radio" name="q8"> הפייסטוס | |
<br> | |
                                                            | |
<input type="radio" name="q8"> אפולו | |
<br> | |
                                                            | |
<input type="radio" name="q8"> ארס | |
<br> | |
<br> | |
                                                            | |
9. מי היה אחיהם של זאוס ופוסידון:<div id="9"></div> | |
<br> | |
                                                            | |
<input type="radio" name="q9"> האדס | |
<br> | |
                                                            | |
<input type="radio" name="q9"> אפולו | |
<br> | |
                                                            | |
<input type="radio" name="q9"> ארס | |
<br> | |
<br> | |
                                                            | |
10. מה היה הקשר בין זאוס להרה חוץ מבעל ואישה:<div id="10"></div> | |
<br> | |
                                                            | |
<input type="radio" name="q10"> בני דודים | |
<br> | |
                                                            | |
<input type="radio" name="q10"> אין עוד קשר | |
<br> | |
                                                            | |
<input type="radio" name="q10"> אחים | |
<br> | |
<br> | |
<br> | |
                                                                                  | |
<input type="reset" name="reset" value="reset"> | |
      | |
<input type="submit" name="submit" value="submit"> | |
</form> | |
<script language="javascript"> | |
document.formq.onsubmit = check; | |
function check(e) | |
{ | |
alert('test'); | |
var wrongs; | |
wrongs=new Array(); | |
console.log(e); | |
e.preventDefault(); | |
if(formq.q1[1].checked==true || formq.q1[2].checked==true) | |
{ | |
document.getElementById("1").innerHTML='<img src="red_x.jpg" height="15" width="15">'; | |
} | |
else | |
{ | |
document.getElementById("1").innerHTML='<img src="green_v.png" height="15" width="15">'; | |
} | |
if(formq.q2[0].checked==true || formq.q2[2].checked==true) | |
{ | |
document.getElementById("2").innerHTML='<img src="red_x.jpg" height="15" width="15">'; | |
} | |
else | |
{ | |
document.getElementById("2").innerHTML='<img src="green_v.png" height="15" width="15">'; | |
} | |
if(formq.q3[0].checked==true || formq.q3[1].checked==true) | |
{ | |
document.getElementById("3").innerHTML='<img src="red_x.jpg" height="15" width="15">'; | |
} | |
else | |
{ | |
document.getElementById("3").innerHTML='<img src="green_v.png" height="15" width="15">'; | |
} | |
if(formq.q4[1].checked==true || formq.q4[2].checked==true) | |
{ | |
document.getElementById("4").innerHTML='<img src="red_x.jpg" height="15" width="15">'; | |
} | |
else | |
{ | |
document.getElementById("4").innerHTML='<img src="green_v.png" height="15" width="15">'; | |
} | |
if(formq.q5[1].checked==true || formq.q5[2].checked==true) | |
{ | |
document.getElementById("5").innerHTML='<img src="red_x.jpg" height="15" width="15">'; | |
} | |
else | |
{ | |
document.getElementById("5").innerHTML='<img src="green_v.png" height="15" width="15">'; | |
} | |
if(formq.q6[0].checked==true || formq.q6[2].checked==true) | |
{ | |
document.getElementById("6").innerHTML='<img src="red_x.jpg" height="15" width="15">'; | |
} | |
else | |
{ | |
document.getElementById("6").innerHTML='<img src="green_v.png" height="15" width="15">'; | |
} | |
if(formq.q7[1].checked==true || formq.q7[2].checked==true) | |
{ | |
document.getElementById("7").innerHTML='<img src="red_x.jpg" height="15" width="15">'; | |
} | |
else | |
{ | |
document.getElementById("7").innerHTML='<img src="green_v.png" height="15" width="15">'; | |
} | |
if(formq.q8[0].checked==true || formq.q8[1].checked==true) | |
{ | |
document.getElementById("8").innerHTML='<img src="red_x.jpg" height="15" width="15">'; | |
} | |
else | |
{ | |
document.getElementById("8").innerHTML='<img src="green_v.png" height="15" width="15">'; | |
} | |
if(formq.q9[1].checked==true || formq.q9[2].checked==true) | |
{ | |
document.getElementById("9").innerHTML='<img src="red_x.jpg" height="15" width="15">'; | |
} | |
else | |
{ | |
document.getElementById("9").innerHTML='<img src="green_v.png" height="15" width="15">'; | |
} | |
if(formq.q10[0].checked==true || formq.q10[1].checked==true) | |
{ | |
document.getElementById("10").innerHTML='<img src="red_x.jpg" height="15" width="15">'; | |
} | |
else | |
{ | |
document.getElementById("10").innerHTML='<img src="green_v.png" height="15" width="15">'; | |
} | |
} | |
</script> | |
</h3> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment