????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_old10/Html/LevelB/Category2/ |
Upload File : |
<!DOCTYPE html>
<html>
<head>
<title>Count red and green chillies</title>
<script type="text/javascript" src="../../../js/allScriptsForLessonsHtml.js"></script>
<style type="text/css"></style>
<script>
function page_preLoad()
{
s_setDeviceTypeLevelCategoryLastLesson(Level.B, Category.No2);
s_set_tblMainiPadBodyWidthHeight('id_tblMainiPadBody', 'id_meta');
s_setHeaderTable('id_tblHeader', s_title_page, s_getSubTitle(Level.B, Category.No2, 12), true, true);
s_setFooterTable('id_tblFooter', true, true, false, true, true);
var ids_headings = ['id_td_heading1', 'id_td_heading2', 'id_td_heading3', 'id_td_heading4', 'id_td_heading5'];
var ids_boxes = ['id_dropBox_no6_1', 'id_dropBox_no6_2', 'id_dropBox_no18', 'id_dropBox_no8', 'id_dropBox_no11', 'id_dropBox_no5', 'id_dropBox_no14', 'id_dropBox_no27'];
var ids_options = ['id_td_no6_1', 'id_td_no18', 'id_td_no8', 'id_td_no11', 'id_td_no5', 'id_td_no14', 'id_td_no27', 'id_td_no6_2'];
var ids_texts = ['id_td_text1', 'id_td_text2', 'id_td_text3', 'id_td_text4', 'id_td_text5', 'id_td_text6'];
var ids_spans = ['id_span_no6_1', 'id_span_no18', 'id_span_no8', 'id_span_no11', 'id_span_no5', 'id_span_no14', 'id_span_no27', 'id_span_no6_2'];
var ids_All = ids_headings.concat(ids_boxes, ids_texts);
s_adjust_fontSize_for_ids_all_devices(ids_All, 70);
s_adjust_fontSize_for_ids_all_devices(ids_options, 100);
s_init_dropBox_tds_withOUT_drag_here(ids_boxes);
s_init_dropping_spans(ids_spans);
s_hideAllExceptFirstElement('id_span_no6_', 2);
s_set_all_draggble_to_false_except_first_element('id_td_no6_', 2);
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()
{
s_setTablesHeightsForIE();
}
function btnPrevious_click()
{
window.location = 'LevelBCat2Lesson11.html';
}
function btnNext_click()
{
window.location = 'LevelBCat2Lesson13.html';
}
function btnHome_click()
{
s_btnHomeCategories_click('LevelB');
}
function DragDrop(id_dropBox, isNo6, ids_array)
{
if (s_isMovingElementIdInTheArraySetIsFilledTrue(id_dropBox, ids_array))
{
s_setTextAndBackgroundColorToGreenAndIsMovedTrue(s_currentDropingId, id_dropBox);
if (isNo6)
{
showNextNo6()
}
isAllInfosMovedShowClapsAnimation();
s_set_currentDropingId_draggbleToFalse();
}
else
{
s_resetCurrentDroppingPosition(id_dropBox);
}
}
function showNextNo6()
{
s_unHideNextElementNew2('id_span_no6_', 'id_td_no6_', 2);
}
function isAllInfosMovedShowClapsAnimation()
{
var ids_boxes = ['id_dropBox_no6_1', 'id_dropBox_no6_2', 'id_dropBox_no18', 'id_dropBox_no8', 'id_dropBox_no11', 'id_dropBox_no5', 'id_dropBox_no14', 'id_dropBox_no27'];
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" cellspacing="0" cellpadding="0">
<tr>
<td >
<table width="100%" height="100%" border="0px" cellspacing="0" cellpadding="2%">
<tr height="*">
<td align="center" style="padding-bottom: 0px">
<table id="id_table1" width="100%" height="100%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="id_td_heading1" class="s_style_heading_options" width="*">Options:</td>
<td id="id_td_no6_1" class="s_style_draggable_text" width="10%" align="center" draggable="true" ondragstart="s_dragStartNew(event)">
<span id="id_span_no6_1" class="cls_drag_no6_1">6</span>
</td>
<td id="id_td_no18" class="s_style_draggable_text" width="10%" align="center" draggable="true" ondragstart="s_dragStartNew(event)">
<span id="id_span_no18" class="cls_drag_no18">18</span>
</td>
<td id="id_td_no8" class="s_style_draggable_text" width="10%" align="center" draggable="true" ondragstart="s_dragStartNew(event)">
<span id="id_span_no8" class="cls_drag_no8">8</span>
</td>
<td id="id_td_no11" class="s_style_draggable_text" width="10%" align="center" draggable="true" ondragstart="s_dragStartNew(event)">
<span id="id_span_no11" class="cls_drag_no11">11</span>
</td>
<td id="id_td_no5" class="s_style_draggable_text" width="10%" align="center" draggable="true" ondragstart="s_dragStartNew(event)">
<span id="id_span_no5" class="cls_drag_no5">5</span>
</td>
<td id="id_td_no14" class="s_style_draggable_text" width="10%" align="center" draggable="true" ondragstart="s_dragStartNew(event)">
<span id="id_span_no14" class="cls_drag_no14">14</span>
</td>
<td id="id_td_no27" class="s_style_draggable_text" width="10%" align="center" draggable="true" ondragstart="s_dragStartNew(event)">
<span id="id_span_no27" class="cls_drag_no27">27</span>
</td>
<td id="id_td_no6_2" class="s_style_draggable_text" width="10%" align="center" draggable="true" ondragstart="s_dragStartNew(event)">
<span id="id_span_no6_2" class="cls_drag_no6_2">6</span>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr height="22%">
<td align="center" style="padding-bottom: 0px">
<table id="id_table2" width="100%" height="100%" border="1" cellspacing="0" cellpadding="0">
<tr height="20%">
<td id="id_td_heading2" class="s_style_heading" style="border-bottom:none">1. Count the following <span class="s_style_textRed_color_only">green chillies</span> and drag the number:
</td>
</tr>
<tr id="id_tr_no18"
ondragover="s_highlight('id_dropBox_no18'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_dropBox_no18')"
ondrop="DragDrop('id_dropBox_no18', false, ['id_span_no18'])">
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="id_td1" width="64%" align="center">
<span>
<img id="id_imgGreenChillies" onclick="s_showImageBigger('95%')" src="../../../img/LevelB/Category2/LevelBCat2Lesson12/greenChillies.png" width="50%" draggable="false">
</span>
</td>
<td id="id_td2" width="15%" align="center">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr height="*">
<td> </td>
</tr>
<tr height="30%">
<td id="id_dropBox_no18" class="s_style_droppable_dash" align="center">______</td>
</tr>
<tr height="30%">
<td> </td>
</tr>
</table>
</td>
<td id="id_td2" width="*" align="center"> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr height="22%">
<td align="center" style="padding-bottom: 0px">
<table id="id_table3" width="100%" height="100%" border="1" cellspacing="0" cellpadding="0">
<tr height="20%">
<td id="id_td_heading3" class="s_style_heading" style="border-bottom:none">2. Count the following <span class="s_style_textRed_color_only">red chillies</span> and drag the number:
</td>
</tr>
<tr id="id_tr_no27"
ondragover="s_highlight('id_dropBox_no27'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_dropBox_no27')"
ondrop="DragDrop('id_dropBox_no27', false, ['id_span_no27'])">
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="id_td1" width="64%" align="center">
<span>
<img id="id_imgRedChillies" onclick="s_showImageBigger('95%')" src="../../../img/LevelB/Category2/LevelBCat2Lesson12/redChillies.png" width="90%" draggable="false">
</span>
</td>
<td id="id_td2" width="15%" align="center">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr height="*">
<td> </td>
</tr>
<tr height="30%">
<td id="id_dropBox_no27" class="s_style_droppable_dash" align="center">______
</td>
</tr>
<tr height="30%">
<td> </td>
</tr>
</table>
</td>
<td id="id_td2" width="*" align="center"> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr height="22%">
<td align="center" style="padding-bottom: 0px">
<table id="id_table4" width="100%" height="100%" border="1" cellspacing="0" cellpadding="0">
<tr height="20%">
<td id="id_td_heading4" class="s_style_heading" style="border-bottom:none">3. Count the following <span class="s_style_textRed_color_only">chillies</span> and drag the number:
</td>
</tr>
<tr>
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="id_td5" width="40%" align="center">
<span>
<img id="id_imgRedAndGreenChillies1" onclick="s_showImageBigger('95%')" src="../../../img/LevelB/Category2/LevelBCat2Lesson12/redAndGreenChillies1.png" width="50%" draggable="false">
</span>
</td>
<td id="id_td6" width="50%" align="center">
<table width="100%" height="100%" border="0" cellspacing="2%" cellpadding="0">
<tr id="id_tr_no11" height="*"
ondragover="s_highlight('id_dropBox_no11'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_dropBox_no11')"
ondrop="DragDrop('id_dropBox_no11', false, ['id_span_no11'])">
<td id="id_td_text1" class="s_style_textRed" width="70%" align="center">Total chillies</td>
<td id="id_dropBox_no11" class="s_style_droppable_dash" width="*" align="center">______</td>
</tr>
<tr id="id_tr_no6_1" height="30%"
ondragover="s_highlight('id_dropBox_no6_1'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_dropBox_no6_1')"
ondrop="DragDrop('id_dropBox_no6_1', true, ['id_span_no6_1', 'id_span_no6_2'])">
<td id="id_td_text2" class="s_style_textRed" width="70%" align="center">Red
</td>
<td id="id_dropBox_no6_1" class="s_style_droppable_dash" width="*" align="center">______</td>
</tr>
<tr id="id_tr_no5" height="30%"
ondragover="s_highlight('id_dropBox_no5'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_dropBox_no5')"
ondrop="DragDrop('id_dropBox_no5', false, ['id_span_no5'])">
<td id="id_td_text3" class="s_style_textRed" width="70%" align="center">Green</td>
<td id="id_dropBox_no5" class="s_style_droppable_dash" width="*" align="center">______</td>
</tr>
</table>
</td>
<td width="*"> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr height="22%">
<td align="center">
<table id="id_table5" width="100%" height="100%" border="1" cellspacing="0" cellpadding="0">
<tr height="20%">
<td id="id_td_heading5" class="s_style_heading" style="border-bottom:none">4. Count the following <span class="s_style_textRed_color_only">chillies</span> and drag the number:
</td>
</tr>
<tr>
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="id_td5" width="40%" align="center">
<span>
<img id="id_imgRedAndGreenChillies2" onclick="s_showImageBigger('95%')" src="../../../img/LevelB/Category2/LevelBCat2Lesson12/redAndGreenChillies2.png" width="50%" draggable="false">
</span>
</td>
<td id="id_td6" width="50%" align="center">
<table width="100%" height="100%" border="0" cellspacing="2%" cellpadding="0">
<tr id="id_tr_no14" height="*"
ondragover="s_highlight('id_dropBox_no14'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_dropBox_no14')"
ondrop="DragDrop('id_dropBox_no14', false, ['id_span_no14'])">
<td id="id_td_text4" class="s_style_textRed" width="70%" align="center">Total chillies</td>
<td id="id_dropBox_no14" class="s_style_droppable_dash" width="*" align="center">______</td>
</tr>
<tr id="id_tr_no6_2" height="30%"
ondragover="s_highlight('id_dropBox_no6_2'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_dropBox_no6_2')"
ondrop="DragDrop('id_dropBox_no6_2', true, ['id_span_no6_1', 'id_span_no6_2'])">
<td id="id_td_text5" class="s_style_textRed" width="70%" align="center">Red
</td>
<td id="id_dropBox_no6_2" class="s_style_droppable_dash" width="*" align="center">______</td>
</tr>
<tr id="id_tr_no8" height="30%"
ondragover="s_highlight('id_dropBox_no8'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_dropBox_no8')"
ondrop="DragDrop('id_dropBox_no8', false, ['id_span_no8'])">
<td id="id_td_text6" class="s_style_textRed" width="70%" align="center">Green</td>
<td id="id_dropBox_no8" class="s_style_droppable_dash" width="*" align="center">______</td>
</tr>
</table>
</td>
<td width="*"> </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_no6_1', {handle : 'id_td_no6_1', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
new webkit_draggable('id_span_no6_2', {handle : 'id_td_no6_2', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
new webkit_draggable('id_span_no18', {handle : 'id_td_no18', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
new webkit_draggable('id_span_no8', {handle : 'id_td_no8', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
new webkit_draggable('id_span_no11', {handle : 'id_td_no11', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
new webkit_draggable('id_span_no5', {handle : 'id_td_no5', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
new webkit_draggable('id_span_no14', {handle : 'id_td_no14', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
new webkit_draggable('id_span_no27', {handle : 'id_td_no27', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
webkit_drop.add('id_tr_no6_1', {onOver : function(){s_highlight('id_dropBox_no6_1')}, onOut : function(){s_un_highlight('id_dropBox_no6_1')}, onDrop : function(){DragDrop('id_dropBox_no6_1', true, ['id_span_no6_1', 'id_span_no6_2'])}});
webkit_drop.add('id_tr_no6_2', {onOver : function(){s_highlight('id_dropBox_no6_2')}, onOut : function(){s_un_highlight('id_dropBox_no6_2')}, onDrop : function(){DragDrop('id_dropBox_no6_2', true, ['id_span_no6_1', 'id_span_no6_2'])}});
webkit_drop.add('id_tr_no18', {onOver : function(){s_highlight('id_dropBox_no18')}, onOut : function(){s_un_highlight('id_dropBox_no18')}, onDrop : function(){DragDrop('id_dropBox_no18', false, ['id_span_no18'])}});
webkit_drop.add('id_tr_no8', {onOver : function(){s_highlight('id_dropBox_no8')}, onOut : function(){s_un_highlight('id_dropBox_no8')}, onDrop : function(){DragDrop('id_dropBox_no8', false, ['id_span_no8'])}});
webkit_drop.add('id_tr_no11', {onOver : function(){s_highlight('id_dropBox_no11')}, onOut : function(){s_un_highlight('id_dropBox_no11')}, onDrop : function(){DragDrop('id_dropBox_no11', false, ['id_span_no11'])}});
webkit_drop.add('id_tr_no5', {onOver : function(){s_highlight('id_dropBox_no5')}, onOut : function(){s_un_highlight('id_dropBox_no5')}, onDrop : function(){DragDrop('id_dropBox_no5', false, ['id_span_no5'])}});
webkit_drop.add('id_tr_no14', {onOver : function(){s_highlight('id_dropBox_no14')}, onOut : function(){s_un_highlight('id_dropBox_no14')}, onDrop : function(){DragDrop('id_dropBox_no14', false, ['id_span_no14'])}});
webkit_drop.add('id_tr_no27', {onOver : function(){s_highlight('id_dropBox_no27')}, onOut : function(){s_un_highlight('id_dropBox_no27')}, onDrop : function(){DragDrop('id_dropBox_no27', false, ['id_span_no27'])}});
</script>
</body>
</html>