????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.25 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_old8/Html/LevelH/Category1/ |
Upload File : |
<!doctype html>
<html>
<head>
<title>Find out the countries on World map</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()
{
shared_setDeviceTypeLevelCategoryLastLesson(Level.H, Category.No1);
shared_set_tblMainiPadBodyWidthHeight('id_tblMainiPadBody', 'id_meta');
shared_setHeaderTable('id_tblHeader', shared_title_page, shared_getSubTitle(Level.H, Category.No1, '45b'), true, true);
shared_setFooterTable('id_tblFooter', true, true, true, true, true);
var ids_headings = ['id_td_heading1'];
var ids_texts = new Array();
for (var textId = 1; textId <= 10; textId++)
{
ids_texts.push('id_td_text' + textId);
}
shared_adjust_fontSize_for_ids_all_devices(ids_headings, 65);
shared_adjust_fontSize_for_ids_all_devices(ids_texts, 70);
var id_tables_array = ['id_table1', 'id_table2'];
shared_border_collapse_for_tables_except_android(id_tables_array);
}
function page_onLoad()
{
loadSvgRectangles('id_div1');
setAllSvgsWidthHeightAndPositionFromTds();
setAllRectangleStyles();
}
function loadSvgRectangles(id_div)
{
var innerHtml = '';
innerHtml += '<svg id="id_svg1" style="visibility: hidden">';
if (shared_currentDeviceOS == shared_deviceOS_Android)
{
innerHtml += '<rect id="id_rectangle1" x="21%" y="55%" width="8%" height="5%"/>';//Brazil
innerHtml += '<rect id="id_rectangle2" x="12%" y="56%" width="8%" height="5%"/>';//Peru
innerHtml += '<rect id="id_rectangle3" x="77%" y="36%" width="8%" height="5%"/>';//China
innerHtml += '<rect id="id_rectangle4" x="53%" y="44%" width="7%" height="5%"/>';//Sudan
innerHtml += '<rect id="id_rectangle5" x="53%" y="38%" width="7%" height="5%"/>';//Egypt
innerHtml += '<rect id="id_rectangle6" x="44%" y="40%" width="8%" height="6%"/>';//North of America
innerHtml += '<rect id="id_rectangle7" x="2%" y="34%" width="12%" height="6%"/>';//USA
innerHtml += '<rect id="id_rectangle8" x="4%" y="26%" width="10%" height="5%"/>';//Canada
}
else
{
innerHtml += '<rect id="id_rectangle1" x="21%" y="56%" width="8%" height="5%"/>';//Brazil
innerHtml += '<rect id="id_rectangle2" x="12%" y="57%" width="8%" height="5%"/>';//Peru
innerHtml += '<rect id="id_rectangle3" x="77%" y="33%" width="8%" height="5%"/>';//China
innerHtml += '<rect id="id_rectangle4" x="53%" y="44%" width="7%" height="5%"/>';//Sudan
innerHtml += '<rect id="id_rectangle5" x="53%" y="38%" width="7%" height="5%"/>';//Egypt
innerHtml += '<rect id="id_rectangle6" x="44%" y="39%" width="8%" height="6%"/>';//North of America
innerHtml += '<rect id="id_rectangle7" x="2%" y="31%" width="12%" height="6%"/>';//USA
innerHtml += '<rect id="id_rectangle8" x="4%" y="22%" width="10%" height="5%"/>';//Canada
}
innerHtml += '</svg>';
document.getElementById(id_div).innerHTML = innerHtml;
}
function setAllSvgsWidthHeightAndPositionFromTds()
{
var nTds = 1;
for (var nthTd = 1; nthTd <= nTds; nthTd++)
{
shared_svg_setSvgWidthHeightAndPositionFromTd('id_td' + nthTd, 'id_svg' + nthTd);
}
}
function setAllRectangleStyles()
{
var allRectangleIdsArray = getAllRectangleIdsArray();
for (var indexRectangle = 0; indexRectangle < allRectangleIdsArray.length; indexRectangle++)
{
var id_rectangle = allRectangleIdsArray[indexRectangle];
shared_svg_setRectangleStyle(id_rectangle);
}
}
function getAllRectangleIdsArray()
{
var allRectangleIdsArray = new Array();
for (var nthEllipse = 1; nthEllipse <= 8; nthEllipse++)
{
allRectangleIdsArray.push('id_rectangle' + nthEllipse);
}
return (allRectangleIdsArray);
}
function rectangle_click(id_rectangle)
{
var eRectangle = document.getElementById(id_rectangle);
eRectangle.isSelected = true;
var fillColor = 'rgba(0, 0, 255, 0.4)';
shared_svg_showRectangleWithFillColor(id_rectangle, fillColor);
}
function btnValidate_click()
{
var nCorrectRectangles = 0;
var allRectangleIdsArray = ['id_rectangle1', 'id_rectangle2', 'id_rectangle3', 'id_rectangle4', 'id_rectangle5', 'id_rectangle6', 'id_rectangle7', 'id_rectangle8'];
for (indexRectangle = 0; indexRectangle < allRectangleIdsArray.length; indexRectangle++)
{
var eRectangle = document.getElementById(allRectangleIdsArray[indexRectangle]);
if (eRectangle.isSelected == true)
{
nCorrectRectangles++;
}
}
if (nCorrectRectangles == 8)
{
shared_show_claps_animation('shared_id_div_claps_image');
}
else
{
shared_show_message_info(shared_title_application, "Please select required countries!", MessageOption.OK);
show_message_info();
}
}
function btnHome_click()
{
shared_btnHomeCategories_click('LevelH');
}
function btnPrevious_click()
{
window.location = 'LevelHCat1Lesson45a.html';
}
function btnNext_click()
{
window.location = 'LevelHCat1Lesson46.html';
}
</script>
</head>
<body onload="page_onLoad()">
<div id="shared_id_div_claps_image"></div>
<div id="shared_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="5%">
<td id="id_td_heading1" class="shared_style_blue_24px_bold_padding_left_2_percent"><u>Find out the following countries on World map</u>:</td>
</tr>
<tr height="20%">
<td>
<table width="100%" height="100%" border="0" cellpadding="2%" cellspacing="0">
<tr>
<td>
<table id="id_table2" width="100%" height="100%" border="1" cellpadding="0" cellspacing="0">
<tr height="17%">
<td id="id_td_text1" class="shared_style_black_24px" width="38%"> 1. The biggest forest</td>
<td id="id_td_text2" class="shared_style_black_24px" width="*" align="center">Amazon (<span style="color:blue">Brazil and Peru</span>)</td>
</tr>
<tr height="17%">
<td id="id_td_text3" class="shared_style_black_24px" width="38%"> 2. The highest mountain</td>
<td id="id_td_text4" class="shared_style_black_24px" width="*" align="center">Everest (<span style="color:blue">China</span>)</td>
</tr>
<tr height="17%">
<td id="id_td_text5" class="shared_style_black_24px" width="38%"> 3. The longest river</td>
<td id="id_td_text6" class="shared_style_black_24px" width="*" align="center">Nile (<span style="color:blue">Sudan, Egypt</span>)</td>
</tr>
<tr height="17%">
<td id="id_td_text7" class="shared_style_black_24px" width="38%"> 4. The large desert</td>
<td id="id_td_text8" class="shared_style_black_24px" width="*" align="center">Sahara (<span style="color:blue">North of Africa Continent</span>)</td>
</tr>
<tr height="17%">
<td id="id_td_text9" class="shared_style_black_24px" width="38%"> 5. The biggest lake</td>
<td id="id_td_text10" class="shared_style_black_24px" width="*" align="center">Superior (<span style="color:blue">USA, Canada</span>)</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr height="*">
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr height="*">
<td id="id_td1" align="center">
<img id="id_img1" onclick="shared_showImageBigger('98%')" src="../../../img/LevelH/Category1/LevelHCat1Lesson45/world.png" width="100%" alt="" draggable="false"/>
<div id="id_div1"></div><!--SVG Rectangles-->
</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>