????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.55 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_old7/Html/LevelH/Category1/ |
Upload File : |
<!doctype html>
<html>
<head>
<title>Find out the states on India 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, '45a'), 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="59%" y="46%" width="8%" height="7%"/>';//Bengal
innerHtml += '<rect id="id_rectangle2" x="57%" y="32%" width="7%" height="4%"/>';//Sikkim
innerHtml += '<rect id="id_rectangle3" x="53%" y="39%" width="7%" height="5%"/>';//Bihar
innerHtml += '<rect id="id_rectangle4" x="39%" y="27%" width="13%" height="5%"/>';//Uttarakhand
innerHtml += '<rect id="id_rectangle5" x="38%" y="34%" width="12%" height="5%"/>';//Uttarpradesh
innerHtml += '<rect id="id_rectangle6" x="21%" y="36%" width="12%" height="5%"/>';//Rajasthan
innerHtml += '<rect id="id_rectangle7" x="37%" y="16%" width="8%" height="5%"/>';//Kashmir
}
else
{
innerHtml += '<rect id="id_rectangle1" x="59%" y="46%" width="8%" height="7%"/>';//Bengal
innerHtml += '<rect id="id_rectangle2" x="57%" y="29%" width="7%" height="4%"/>';//Sikkim
innerHtml += '<rect id="id_rectangle3" x="53%" y="37%" width="7%" height="5%"/>';//Bihar
innerHtml += '<rect id="id_rectangle4" x="39%" y="22%" width="13%" height="5%"/>';//Uttarakhand
innerHtml += '<rect id="id_rectangle5" x="38%" y="31%" width="12%" height="5%"/>';//Uttarpradesh
innerHtml += '<rect id="id_rectangle6" x="21%" y="34%" width="12%" height="5%"/>';//Rajasthan
innerHtml += '<rect id="id_rectangle7" x="37%" y="9%" width="8%" height="5%"/>';//Kashmir
}
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 <= 7; nthEllipse++)
{
allRectangleIdsArray.push('id_rectangle' + nthEllipse);
}
return (allRectangleIdsArray);
}
function rectangle_click(id_rectangle)
{
var eRectangle = document.getElementById(id_rectangle);
eRectangle.isSelected = true;
var fillColor = '';
if (id_rectangle == 'id_rectangle1' || id_rectangle == 'id_rectangle3' || id_rectangle == 'id_rectangle4' || id_rectangle == 'id_rectangle5')
{
fillColor = 'rgba(0, 0, 255, 0.4)';
}
else
{
fillColor = 'rgba(0, 255, 0, 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'];
for (indexRectangle = 0; indexRectangle < allRectangleIdsArray.length; indexRectangle++)
{
var eRectangle = document.getElementById(allRectangleIdsArray[indexRectangle]);
if (eRectangle.isSelected == true)
{
nCorrectRectangles++;
}
}
if (nCorrectRectangles == 7)
{
shared_show_claps_animation('shared_id_div_claps_image');
}
else
{
shared_show_message_info(shared_title_application, "Please select required states!", MessageOption.OK);
show_message_info();
}
}
function btnHome_click()
{
shared_btnHomeCategories_click('LevelH');
}
function btnPrevious_click()
{
window.location = 'LevelHCat1Lesson44.html';
}
function btnNext_click()
{
window.location = 'LevelHCat1Lesson45b.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 states on India 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">Suderbans (<span style="color:blue">West Bengal</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">Kanchenjunga (<span style="color:blue">Sikkim</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">Ganga (<span style="color:blue">Uttarakhand, U.P, Bihar & Bengal</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">Thar (<span style="color:blue">Rajasthan</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">Dal (<span style="color:blue">Kashmir</span>)</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr height="*">
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td1" align="center">
<img src="../../../img/LevelH/Category1/LevelHCat1Lesson45/india.png" width="70%" 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>