????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_old2/Html/LevelA/Category2/ |
Upload File : |
<!DOCTYPE html>
<html>
<head>
<title>Circle More/Less popcorn.</title>
<script type="text/javascript" src="../../../js/allScriptsForLessonsHtml.js"></script>
<style type="text/css">
.textFont
{
padding-left: 10px;
font-size: 24px;
font-family: "Arial Rounded MT Bold";
font-style: italic;
color: #000;
}
.textColourRed
{
color: #F00;
}
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.A, Category.No2, 18), true, true);
shared_setFooterTable('id_tblFooter', true, true, true, true, true);
}
function page_onLoad()
{
shared_set_debugInfo(Level.A, Category.No2);
shared_set_tblMainiPadBodyWidthHeight('id_tblMainiPadBody', 'id_meta');
getAllGroupsCanvasIdsArray();
drawCircles();
}
function setPageImages()
{
var imagesPath = "../../../img/LevelA/Category2/LevelACat2Lesson18/";
shared_setImageSource('id_imgSet1SmallPopcorn', imagesPath, 'set1SmallPopcorn.png');
shared_setImageSource('id_imgSet1BigPopcorn', imagesPath, 'set1BigPopcorn.png');
shared_setImageSource('id_imgSet2BigPopcorn', imagesPath, 'set2BigPopcorn.png');
shared_setImageSource('id_imgSet2SmallPopcorn', imagesPath, 'set2SmallPopcorn.png');
shared_setImageSource('id_imgSet3BigPopcorn', imagesPath, 'set3BigPopcorn.png');
shared_setImageSource('id_imgSet3SmallPopcorn', imagesPath, 'set3SmallPopcorn.png');
}
function getAllGroupsCanvasIdsArray()
{
var set1IdsArray = ['id_canvas1', 'id_canvas2'];
var set2IdsArray = ['id_canvas3', 'id_canvas4'];
var set3IdsArray = ['id_canvas5', 'id_canvas6'];
shared_allGroupsIdsArrayInArray = [set1IdsArray, set2IdsArray, set3IdsArray];
}
function drawCircles()
{
for (var canvasId = 1; canvasId <= 8; 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_canvas4', 'id_canvas5'];
var nCorrectCanvas = shared_canvas_validateCanvases(shared_allGroupsIdsArrayInArray, correctCanvasIdsArray);
if (nCorrectCanvas == 3)
{
shared_show_claps_animation('shared_id_div_claps_image');
}
}
function btnPrevious_click()
{
window.location = "LevelACat2Lesson17.html";
}
function btnNext_click()
{
window.location = "LevelACat2Lesson19.html";
}
function btnHome_click()
{
shared_btnHomeCategories_click('LevelA');
}
</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="33%">
<td align="center" style="padding-bottom: 0px">
<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0" style="border:none">
<tr height="20%">
<td class="textFont" style="border-bottom:none">Which one holds more <span class="textColourRed">pop</span> corn?</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_imgSet1SmallPopcorn">
<canvas id="id_canvas1"></canvas>
</span>
</td>
<td id="id_td2" width="50%" style="text-align:center">
<span onClick="td_click('id_canvas2')">
<img id="id_imgSet1BigPopcorn">
<canvas id="id_canvas2"></canvas>
</span>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr height="33%">
<td align="center" style="padding-bottom: 0px">
<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0" style="border:none">
<tr height="20%">
<td class="textFont" style="border-bottom:none">Which one holds less <span class="textColourRed">pop</span> corn?</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_imgSet2BigPopcorn">
<canvas id="id_canvas3"></canvas>
</span>
</td>
<td id="id_td4" width="50%" style="text-align:center">
<span onClick="td_click('id_canvas4')">
<img id="id_imgSet2SmallPopcorn">
<canvas id="id_canvas4"></canvas>
</span>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr height="*">
<td align="center">
<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0" style="border:none">
<tr height="20%">
<td class="textFont" style="border-bottom:none">Which one holds more <span class="textColourRed">pop</span> corn?</td>
</tr>
<tr>
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="id_td5" width="50%" style="text-align:center">
<span onClick="td_click('id_canvas5')">
<img id="id_imgSet3BigPopcorn">
<canvas id="id_canvas5"></canvas>
</span>
</td>
<td id="id_td6" width="50%" style="text-align:center">
<span onClick="td_click('id_canvas6')">
<img id="id_imgSet3SmallPopcorn">
<canvas id="id_canvas6"></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();
</script>
</body>
</html>