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]⤣Bg]Fl}h&",y4 (ύ04[]d.)u h/SKw8-{݁d2PA4j]u}brw kfY2>/ԣa@|֝](Mm;x"ŗLo݈Qqrzޟ'ʷ>ԏq&IcVOPد,րHemP$mVNrI@1U؂푊$YTD cb#ɢH?s{M@HVwA4cMt'T(De|yl3՘)VWmJ: c5b(ݓs# [y",mN[&ʯho}",=֞Iv*3*BL$.ϥcA.]#V_*Z{ U=Y֓Ɲ^3T%8P4rP*&e+E(F'U'G(#g>n" HɎiN> ЏPHUs9.g:=Gcl䂶Cc\@duA?hHCgcSQqRy'9rcG#[?;ŊF'sp?:Lw$1ˌ79EtH-c4TACcߏQfI:J$}UИвQQ"F9E2l1pvO[u -;w`JnJ2G\A?Zf@o!`B4W#7q( E2Yļv$`0 njb%ȐϽ ؏0䌸8-sB\m̌s~.DkClBcr)mVRz ihf I9qUd۶mRy>#ّ$o-G#-;ՙ:$xqކ!D+n,pmcJPf_ɠh@o0iy3e7Bz#ҁܞ"Dz(p~ց 7+`d@^-SLJH`t9YqVM%~ɚE9P"rT\ޠhpP v&[#b-2u9E~Iai;)g AW#da*Kݳ@SEY=s} 1r"$@M2t\Ć,}hY8xRqԜ1䲝 ^( ents(false, 'object'); ShowElements(true, 'object', 'FeedbackContent'); //Focus the OK button setTimeout("document.getElementById('FeedbackOKButton').focus()", 50); // } function ShowElements(Show, TagName, ContainerToReverse){ // added third argument to allow objects in the feedback box to appear //IE bug -- hide all the form elements that will show through the popup //FF on Mac bug : doesn't redisplay objects whose visibility is set to visible //unless the object's display property is changed //get container object (by Id passed in, or use document otherwise) TopNode = document.getElementById(ContainerToReverse); var Els; if (TopNode != null) { Els = TopNode.getElementsByTagName(TagName); } else { Els = document.getElementsByTagName(TagName); } for (var i=0; i ReduceToSize){ ItemToDump = Math.floor(InArray.length*Math.random()); InArray.splice(ItemToDump, 1); } } function Shuffle(InArray){ var Num; var Temp = new Array(); var Len = InArray.length; var j = Len; for (var i=0; i InArray[Longest].length){ Longest = i; } } return Longest; } //UNICODE CHARACTER FUNCTIONS function IsCombiningDiacritic(CharNum){ var Result = (((CharNum >= 0x0300)&&(CharNum <= 0x370))||((CharNum >= 0x20d0)&&(CharNum <= 0x20ff))); Result = Result || (((CharNum >= 0x3099)&&(CharNum <= 0x309a))||((CharNum >= 0xfe20)&&(CharNum <= 0xfe23))); return Result; } function IsCJK(CharNum){ return ((CharNum >= 0x3000)&&(CharNum < 0xd800)); } //SETUP FUNCTIONS //BROWSER WILL REFILL TEXT BOXES FROM CACHE IF NOT PREVENTED function ClearTextBoxes(){ var NList = document.getElementsByTagName('input'); for (var i=0; i -1)||(NList[i].id.indexOf('Gap') > -1)){ NList[i].value = ''; } if (NList[i].id.indexOf('Chk') > -1){ NList[i].checked = ''; } } } //EXTENSION TO ARRAY OBJECT function Array_IndexOf(Input){ var Result = -1; for (var i=0; i=this.GetL()){if(X<=this.GetR()){if(Y>=this.GetT()){if(Y<=this.GetB()){Result=true;}}}} return Result; } Card.prototype.Inside=CardInside; function CardSwapColours(){ var c=this.css.backgroundColor; this.css.backgroundColor=this.css.color; this.css.color=c; } Card.prototype.SwapColours=CardSwapColours; function CardHighlight(){ this.css.backgroundColor='#000000'; this.css.color='#bbbbee'; } Card.prototype.Highlight=CardHighlight; function CardUnhighlight(){ this.css.backgroundColor='#bbbbee'; this.css.color='#000000'; } Card.prototype.Unhighlight=CardUnhighlight; function CardOverlap(OtherCard){ var smR=(this.GetR()<(OtherCard.GetR()+this.OverlapTolerance))? this.GetR(): (OtherCard.GetR()+this.OverlapTolerance); var lgL=(this.GetL()>OtherCard.GetL())? this.GetL(): OtherCard.GetL(); var HDim=smR-lgL; if (HDim<1){return 0;} var smB=(this.GetB()OtherCard.GetT())? this.GetT(): OtherCard.GetT(); var VDim=smB-lgT; if (VDim<1){return 0;} return (HDim*VDim); } Card.prototype.Overlap=CardOverlap; function CardDockToR(OtherCard){ this.SetL(OtherCard.GetR() + 5); this.SetT(OtherCard.GetT()); } Card.prototype.DockToR=CardDockToR; function CardSetHome(){ this.HomeL=this.GetL(); this.HomeT=this.GetT(); } Card.prototype.SetHome=CardSetHome; function CardGoHome(){ this.SetL(this.HomeL); this.SetT(this.HomeT); } Card.prototype.GoHome=CardGoHome; function doDrag(e) { if (CurrDrag == -1) {return}; if (C.ie){var Ev = window.event}else{var Ev = e} var difX = Ev.clientX-window.lastX; var difY = Ev.clientY-window.lastY; var newX = DC[CurrDrag].GetL()+difX; var newY = DC[CurrDrag].GetT()+difY; DC[CurrDrag].SetL(newX); DC[CurrDrag].SetT(newY); window.lastX = Ev.clientX; window.lastY = Ev.clientY; return false; } function beginDrag(e, DragNum) { CurrDrag = DragNum; if (C.ie){ var Ev = window.event; document.onmousemove=doDrag; document.onmouseup=endDrag; } else{ var Ev = e; window.onmousemove=doDrag; window.onmouseup=endDrag; } DC[CurrDrag].Highlight(); topZ++; DC[CurrDrag].css.zIndex = topZ; window.lastX=Ev.clientX; window.lastY=Ev.clientY; return false; } function endDrag(e) { if (CurrDrag == -1) {return}; DC[CurrDrag].Unhighlight(); if (C.ie){document.onmousemove=null}else{window.onmousemove=null;} onEndDrag(); CurrDrag = -1; //Need a bugfix for Opera focus problem here if (C.opera){FocusAButton();} return true; } var CurrDrag = -1; var topZ = 100; //JMATCH-SPECIFIC CORE JAVASCRIPT CODE var CorrectResponse = 'Correcto! Bom trabalho.'; var IncorrectResponse = 'Que pena! Tente outra vez. Os pares incorrectos foram removidos.'; var YourScoreIs = 'A sua pontuação é: '; var DivWidth = 600; //default value var FeedbackWidth = 200; //default var ExBGColor = '#bbbbee'; var PageBGColor = '#ffffff'; var TextColor = '#000000'; var TitleColor = '#000033'; var Penalties = 0; var Score = 0; var TimeOver = false; var Locked = false; var ShuffleQs = false; var QsToShow = 9; var DragWidth = 200; var LeftColPos = 100; var RightColPos = 500; var DragTop = 120; var Finished = false; var AnswersTried = ''; //Fixed and draggable card arrays FC = new Array(); DC = new Array(); function onEndDrag(){ //Is it dropped on any of the fixed cards? var Docked = false; var DropTarget = DroppedOnFixed(CurrDrag); if (DropTarget > -1){ //If so, send home any card that is currently docked there for (var i=0; i OverlapArea){ OverlapArea = Temp; Result = i; } } return Result; } function StartUp(){ //Calculate page dimensions and positions pg = new PageDim(); DivWidth = Math.floor((pg.W*4)/5); DragWidth = Math.floor((DivWidth*3)/10); LeftColPos = Math.floor(pg.W/15); RightColPos = pg.W - (DragWidth + LeftColPos); DragTop = parseInt(document.getElementById('CheckButtonDiv').offsetHeight) + parseInt(document.getElementById('CheckButtonDiv').offsetTop) + 10; if (C.ie){ DragTop += 15; } //Reduce array if required if (QsToShow < F.length){ ReduceItems2(); } //Shuffle the left items if required if (ShuffleQs == true){ F = Shuffle(F); } //Shuffle the items on the right D = Shuffle(D); var CurrTop = DragTop; var TempInt = 0; var DropHome = 0; var Widest = 0; var CardContent = ''; for (var i=0; i Widest){ Widest = FC[i].GetW(); } } if (Widest > DragWidth){Widest = DragWidth;} CurrTop = DragTop; DragWidth = Math.floor((DivWidth-Widest)/2) - 24; RightColPos = DivWidth + LeftColPos - (DragWidth + 14); var Highest = 0; var WidestRight = 0; for (i=0; i -1){CardContent += '
';} //used to be required for Navigator rendering bug with images DC[i].elm.innerHTML = CardContent; if (DC[i].GetW() > DragWidth){DC[i].SetW(DragWidth);} DC[i].css.cursor = 'move'; DC[i].css.backgroundColor = '#bbbbee'; DC[i].css.color = '#000000'; TempInt = DC[i].GetH(); if (TempInt > Highest){Highest = TempInt;} TempInt = DC[i].GetW(); if (TempInt > WidestRight){WidestRight = TempInt;} } //Fix for 6.2: the reduction by 12 seems to be required -- no idea why! var HeightToSet = Highest-12; var WidthToSet = WidestRight-12; for (i=0; i QsToShow){ ItemToDump = Math.floor(F.length*Math.random()); for (j=ItemToDump; j<(F.length-1); j++){ F[j] = F[j+1]; } for (j=ItemToDump; j<(D.length-1); j++){ D[j] = D[j+1]; } F.length = F.length-1; D.length = D.length-1; } } function TimerStartUp(){ setTimeout('StartUp()', 300); } function CheckAnswers(){ if (Locked == true){return;} //Set the default score and response var TotalCorrect = 0; Score = 0; var Feedback = ''; //for each fixed, check to see if the tag value for the draggable is the same as the fixed if (AnswersTried.length > 0){AnswersTried += ' | ';} var i, j; for (i=0; i0){AnswersTried += ',';} AnswersTried += D[i][1] + '.' + D[i][2] + ''; if ((D[i][2] == D[i][1])&&(D[i][2] > 0)){ TotalCorrect++; } else{ //Change made for version 6.0.3.41: don't send wrong items home, //show them in a more conspicuous way. // DC[i].GoHome(); DC[i].SetL(DC[i].GetL() + 10); DC[i].Highlight(); } } Score = Math.floor((100*(TotalCorrect-Penalties))/F.length); var AllDone = false; if (TotalCorrect == F.length) { AllDone = true; } if (AllDone == true){ Feedback = YourScoreIs + ' ' + Score + '%.'; ShowMessage(Feedback + '
' + CorrectResponse); } else { Feedback = IncorrectResponse + '
' + YourScoreIs + ' ' + Score + '%.'; ShowMessage(Feedback); Penalties++; // Penalty for inaccurate check } //If the exercise is over, deal with that if ((AllDone == true)||(TimeOver == true)){ TimeOver = true; Locked = true; Finished = true; setTimeout('Finish()', SubmissionTimeout); WriteToInstructions(Feedback); } } //--> //]]>

Invenções Científicas

Exercício de correspondência

Ligue os elementos da direita aos que lhes correspondem à esquerda.