<![CDATA[Bar Model Method in Primary Math]]> false false false false false false false true true false ]]> ./01authorlookang50x50.png; DESCRIPTION_EDITOR Intro Page true false _default_ Intro Page false ]]> 20 1 true VARIABLE_EDITOR Main Variables true false VARIABLE_EDITOR Choices true false VARIABLE_EDITOR lookang true false VARIABLE_EDITOR Frem true false VARIABLE_EDITOR Frem 2 true false CODE_EDITOR Initialization true false CODE_EDITOR Demo true false LIBRARY_EDITOR Full Screen true false LIBRARY_EDITOR Align Left true false LIBRARY_EDITOR Arrow Spawn true false LIBRARY_EDITOR Arrow Spawn 2 false false LIBRARY_EDITOR Text Spawn true false LIBRARY_EDITOR Box Spawn true false LIBRARY_EDITOR Fractions true false LIBRARY_EDITOR Divide true false -1) { colorchoice.splice(index, 1); } if (iosize*2/3){sizex = osize*2/3;} if (sizex LIBRARY_EDITOR Ratio true false LIBRARY_EDITOR Percentage true false HTML_VIEW_EDITOR HtmlView Page true false 0 0 0 800 600 true true Elements.Panel Elements.Button Elements.Button Elements.TextField Elements.Button Elements.Button Elements.Button 0) { //Sets property 'X' of all the boxes for (var i = 0; i Elements.ComboBox 0)? opts[0]:""; // selected option //["Red","Green","Blue","Yellow","Cyan","Magenta","White","Orange"] boxcolor[boxid]=option; //Sets the selected ID c rectangle's color to Yellow if ( option=="Yellow"){ Foregroundcolor="Black"; } else if ( option=="Magenta"){ Foregroundcolor="Black"; } //Sets the selected ID c rectangle's color to White else if ( option=="White"){ Foregroundcolor="Black"; } //Sets the selected ID c rectangle's color to Red else if ( option=="Red"){ Foregroundcolor="Black"; } //Sets the selected ID c rectangle's color to Orange else if ( option=="Orange"){ Foregroundcolor="Black"; } //Sets the selected ID c rectangle's color to Cyan else if ( option=="Cyan"){ Foregroundcolor="Black"; } //Sets the selected ID c rectangle's color to Blue else if ( option=="Blue"){ Foregroundcolor="White"; } //Sets the selected ID c rectangle's color to Green else if ( option=="Green"){ Foregroundcolor="White"; } ]]> 0?"inline":"none"]]> true Elements.Panel 0?"inline-flex":"none"]]> Elements.ComboBox 0)? opts[0]:""; // selected option //["Fractions","Divider","Ratio","Percentage"] //Selects the mode of the operation. if ( option=="Fractions"){choice = 1;} else if ( option=="Divider"){choice = 2;} //Ratio and Percentage will display their stuff only if there are two or more boxes in the panel else if ( option=="Ratio"){choice = 3;} else if ( option=="Percentage"){choice = 4;}]]> 0?"inline":"none"]]> Elements.ParsedField 0)?"inline":"none"]]> Elements.Label Elements.ParsedField Elements.Button Elements.ParsedField Elements.Button Elements.Button Elements.ParsedField 1)?"inline":"none"]]> Elements.Label 1)?"inline":"none"]]> Elements.ParsedField 1)?"inline":"none"]]> Elements.Button 1)?"inline":"none"]]> Elements.ParsedField 1)?"inline":"none"]]> Elements.Label 1)?"inline":"none"]]> Elements.Button 1)?"inline":"none"]]> Elements.Button true Elements.Panel true Elements.PlottingPanel Elements.ArrowSet2D Elements.TextSet2D Elements.ShapeSet2D 1){ circlecolor[idselect[0]]="rgba(192,192,192,0.5)"; circlecolor[idselect[1]]="rgba(0,255,0,0.5)"; idselect.splice(0,1); } idselect.push(boxid); circlecolor[boxid] = "rgba(255,255,0,0.5)"; } ]]> Elements.ShapeSet2D 1){ circlecolor[idselect[0]]="rgba(192,192,192,0.5)"; circlecolor[idselect[1]]="rgba(0,255,0,0.5)"; idselect.splice(0,1); } idselect.push(boxid); circlecolor[boxid] = "rgba(255,255,0,0.5)"; } ]]>