????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/LevelC/Category3/ |
Upload File : |
<!DOCTYPE html>
<html>
<head>
<title>Circle the vehicle to go to school.</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: #00F;
}
.textColourBlue
{
color: #00F;
}
.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.C, Category.No3, 7), true, true);
shared_setFooterTable('id_tblFooter', true, true, false, true, true);
}
function page_onLoad()
{
shared_set_debugInfo(Level.C, Category.No3);
shared_set_tblMainiPadBodyWidthHeight('id_tblMainiPadBody', 'id_meta');
getAllGroupsCanvasIdsArray();
drawCircles();
}
function setPageImages()
{
var imagePath = '../../../img/LevelC/Category3/LevelCCat3Lesson7/';
shared_setImageSource('id_imgAuto', imagePath, 'auto.png');
shared_setImageSource('id_imgCar', imagePath, 'car.png');
shared_setImageSource('id_imgCityBus', imagePath, 'cityBus.png');
shared_setImageSource('id_imgMatadorVan', imagePath, 'matadorVan.png');
shared_setImageSource('id_imgSchoolBus', imagePath, 'schoolBus.png');
shared_setImageSource('id_imgScooter', imagePath, 'scooter.png');
shared_setImageSource('id_imgVan', imagePath, 'van.png');
shared_setImageSource('id_imgBike', imagePath, 'bike.png');
}
function getAllGroupsCanvasIdsArray()
{
var canvsIdsArray = ['id_canvas1', 'id_canvas2', 'id_canvas3', 'id_canvas4', 'id_canvas5', 'id_canvas6', 'id_canvas7', 'id_canvas8'];
shared_allGroupsIdsArrayInArray = [canvsIdsArray];
}
function btnPrevious_click()
{
window.location = 'LevelCCat3Lesson6.html';
}
function btnNext_click()
{
window.location = 'LevelCCat3Lesson8.html';
}
function btnHome_click()
{
shared_btnHomeCategories_click('LevelC');
}
function drawCircles()
{
for (var canvasId = 1; canvasId <= 8; canvasId++)
{
shared_canvas_drawCircle('id_canvas' + canvasId, 'id_td' + canvasId);
}
}
function td_click(idCanvas)
{
shared_canvas_showCircles(idCanvas, shared_allGroupsIdsArrayInArray);
var eCanvas = document.getElementById(idCanvas);
var eCanvasContext = eCanvas.getContext('2d');
eCanvasContext.fillStyle = 'rgba(0, 250, 0, 0.4)';//Light green
eCanvasContext.fill();
}
function btnValidate_click()
{
shared_isSelectedWrong = false;
var correctCanvasIdsArray = ['id_canvas1', 'id_canvas3', 'id_canvas5', 'id_canvas7', 'id_canvas9', 'id_canvas10'];
var nCorrectCanvas = shared_canvas_validateCanvases(shared_allGroupsIdsArrayInArray, correctCanvasIdsArray);
if ((nCorrectCanvas == 6) && (!(shared_isSelectedWrong)))
{
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="0" cellspacing="0" cellpadding="5">
<tr height="33%">
<td align="center">
<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="5" style="border:none">
<tr height="5%">
<td class="textFont" style="border-bottom:0px; color:red; text-align: center"><span><u>school</u></span></td>
</tr>
<tr height="*">
<td align="center">
<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0" style="border:none">
<tr height="5%">
<td class="textFont" style="border-bottom:none; color:blue"><span><u>Circle the vehicle which you use to go to school.</u></span></td>
</tr>
<tr height="*">
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="id_td1" width="33%" style="text-align:center">
<span onClick="td_click('id_canvas1')">
<img id="id_imgAuto" width="40%" height="80%">
<canvas id="id_canvas1"></canvas>
</span>
</td>
<td width="*">
</td>
<td id="id_td2" width="33%" style="text-align:center">
<span onClick="td_click('id_canvas2')">
<img id="id_imgCar" width="40%" height="80%">
<canvas id="id_canvas2"></canvas>
</span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="id_td3" width="33%" style="text-align:center">
<span onClick="td_click('id_canvas3')">
<img id="id_imgVan" width="40%" height="80%">
<canvas id="id_canvas3"></canvas>
</span>
</td>
<td width="*">
</td>
<td id="id_td4" width="33%" style="text-align:center">
<span onClick="td_click('id_canvas4')">
<img id="id_imgSchoolBus" width="40%" height="80%">
<canvas id="id_canvas4"></canvas>
</span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="id_td5" width="33%" style="text-align:center">
<span onClick="td_click('id_canvas5')">
<img id="id_imgCityBus" width="40%" height="80%">
<canvas id="id_canvas5"></canvas>
</span>
</td>
<td width="*">
</td>
<td id="id_td6" width="33%" style="text-align:center">
<span onClick="td_click('id_canvas6')">
<img id="id_imgMatadorVan" width="40%" height="80%">
<canvas id="id_canvas6"></canvas>
</span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="id_td7" width="33%" style="text-align:center">
<span onClick="td_click('id_canvas7')">
<img id="id_imgScooter" width="40%" height="80%">
<canvas id="id_canvas7"></canvas>
</span>
</td>
<td width="*">
</td>
<td id="id_td8" width="33%" style="text-align:center">
<span onClick="td_click('id_canvas8')">
<img id="id_imgBike" width="40%" height="80%">
<canvas id="id_canvas8"></canvas>
</span>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</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>