<HEAD><TITLE>Question tags 2</TITLE> <META http-equiv=Content-Type content="text/html; charset=windows-1252"> <META content="Question tags 2" name=DC.Title> <META content="" name=DC.Creator> <META content="" name=DC.Subject> <META content="" name=DC.Description> <META content="VUC Roskilde Amt" name=DC.Publisher> <META content=18-09-2007 name=DC.Date> <META content=text/html name=DC.Format> <META content=dk name=DC.Language> <META content="" name=DC.Relation> <META content="Copyright 2007 VUC Roskilde Amt" name=DC.Rights><LINK href="css/skablet.css" type=text/css rel=STYLESHEET> <META content="MSHTML 6.00.6000.16587" name=GENERATOR></HEAD> <BODY style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"> <TABLE style="FONT-SIZE: 10pt" width=600 align=center> <TBODY> <TR> <TD> <H3>Question tags 2 </H3> <P>'Question tags' er sm efterhngte sprgsml, som fx:<BR>He lives in Oxford, <STRONG>doesn't he</STRONG>?<BR>He hasn't seen our new car, <STRONG>has he</STRONG>?</P> <P><STRONG>Bemrk: apostroffen finder du p tasten lige til hjre for bogstavet !<BR>Hvis du bruger andre taster, fr du fejl!</STRONG></P> <FORM name=Indsaet action="">1. You can't help me with this problem, <INPUT type=hidden value="can you" name=RigtigtSvar><INPUT style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid" size=7 name=Tekst0><SPAN>&nbsp;&nbsp;&nbsp;</SPAN>? <BR><BR>2. You are wearing my coat, <INPUT type=hidden value="aren't you" name=RigtigtSvar><INPUT style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid" size=10 name=Tekst1><SPAN>&nbsp;&nbsp;&nbsp;</SPAN>? <BR><BR>3. You couldn't lend me 100, <INPUT type=hidden value="could you" name=RigtigtSvar><INPUT style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid" size=9 name=Tekst2><SPAN>&nbsp;&nbsp;&nbsp;</SPAN>? <BR><BR>4. She didn't go to the party, <INPUT type=hidden value="did she" name=RigtigtSvar><INPUT style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid" size=7 name=Tekst3><SPAN>&nbsp;&nbsp;&nbsp;</SPAN>? <BR><BR>5. He likes Sheila very much, <INPUT type=hidden value="doesn't he" name=RigtigtSvar><INPUT style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid" size=10 name=Tekst4><SPAN>&nbsp;&nbsp;&nbsp;</SPAN>? <BR><BR>6. There will be plenty of food tomorrow, <INPUT type=hidden value="won't there" name=RigtigtSvar><INPUT style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid" size=11 name=Tekst5><SPAN>&nbsp;&nbsp;&nbsp;</SPAN>? <BR><BR>7. They have just bought the house, <INPUT type=hidden value="haven't they" name=RigtigtSvar><INPUT style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid" size=12 name=Tekst6><SPAN>&nbsp;&nbsp;&nbsp;</SPAN>? <BR><BR>8. No, they bought it two years ago, <INPUT type=hidden value="didn't they" name=RigtigtSvar><INPUT style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid" size=11 name=Tekst7><SPAN>&nbsp;&nbsp;&nbsp;</SPAN>? <BR><BR>9. We can't afford a new car, <INPUT type=hidden value="can we" name=RigtigtSvar><INPUT style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid" size=6 name=Tekst8><SPAN>&nbsp;&nbsp;&nbsp;</SPAN>? <BR><BR>10. You wouldn't want a car like that, <INPUT type=hidden value="would you" name=RigtigtSvar><INPUT style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid" size=9 name=Tekst9><SPAN>&nbsp;&nbsp;&nbsp;</SPAN>? <BR><BR>11. There won't be room for 10 people in this house, <INPUT type=hidden value="will there" name=RigtigtSvar><INPUT style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid" size=10 name=Tekst10><SPAN>&nbsp;&nbsp;&nbsp;</SPAN>? <BR><BR>12. I visited him last week, <INPUT type=hidden value="didn't I" name=RigtigtSvar><INPUT style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid" size=8 name=Tekst11><SPAN>&nbsp;&nbsp;&nbsp;</SPAN>? </FORM> <P><BUTTON id=check onclick="Rettelse();return false;">CHECK</BUTTON> <SPAN id=smiley style="VISIBILITY: hidden">J</SPAN> </P></TD></TR></TBODY></TABLE> <SCRIPT type=text/javascript> var PPoint=0; var total="12" function Rettelse() { var e=0; PPoint=0; var tegn = document.forms["Indsaet"].getElementsByTagName("span"); var inputs = document.getElementsByTagName("input"); for (var i=0;i<inputs.length;i++) if ( inputs.item(i).type=="text") { if (isEqualValues(trim(inputs.item(i).value),inputs.item(i-1).value)) { (tegn.item(e)).style.fontSize="20"; (tegn.item(e)).style.color="#008000"; (tegn.item(e)).innerHTML="<font face=Wingdings>\u00FC</font>"; inputs.item(i).title = ""; PPoint++; } else if (inputs.item(i).value != "") { (tegn.item(e)).style.fontSize="20"; (tegn.item(e)).style.color="#FF0000"; inputs.item(i).value="";(tegn.item(e)).innerHTML="<font face=Wingdings>\u00FB</font>"; inputs.item(i).title = inputs.item(i-1).value; }; e++; } PPoint=Math.round(100*PPoint/total) if (PPoint==100) sml = "J" else sml = "L" document.getElementById("smiley").style.visibility="visible"; document.getElementById("smiley").innerHTML= "<font face='Wingdings' size='6'>" + sml + "<\/font>"; } function isEqualValues(v1,v2){ var nv1=v1.replace(/,/g, "."); var nv2=v2.replace(/,/g, "."); if(isFinite(nv1)) return parseFloat(nv1)==parseFloat(nv2) else return v1==v2; } function trim(s){ return s.replace(/^\s+/,'').replace(/\s+$/,''); } </SCRIPT> </BODY>