????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_old10/Html/LevelE/Category3/ |
Upload File : |
<!DOCTYPE html>
<html>
<head>
<title>Fill in the blanks</title>
<script type="text/javascript" src="../../../js/allScriptsForLessonsHtml.js"></script>
<style type="text/css"></style>
<script>
function page_preLoad()
{
s_setDeviceTypeLevelCategoryLastLesson(Level.E, Category.No3);
s_set_tblMainiPadBodyWidthHeight('id_tblMainiPadBody', 'id_meta');
s_setHeaderTable('id_tblHeader', s_title_page, s_getSubTitle(Level.E, Category.No3, 32), true, true);
s_setFooterTable('id_tblFooter', true, true, true, true, true);
var ids_headings = ['id_td_heading1', 'id_td_heading2', 'id_td_heading3'];
var ids_texts = ['id_td_text1', 'id_td_text2', 'id_td_text3', 'id_td_text4', 'id_td_text5', 'id_td_text6', 'id_td_text7', 'id_td_text8', 'id_td_text9', 'id_td_text10', 'id_td_text11', 'id_td_text12', 'id_td_text13', 'id_td_text14', 'id_td_text15', 'id_td_text16', 'id_td_text17', 'id_td_text18', 'id_td_text19', 'id_td_text20', 'id_td_text21', 'id_td_text22', 'id_td_text23', 'id_td_text24', 'id_td_text25', 'id_td_text26', 'id_td_text27', 'id_td_text28', 'id_td_text29', 'id_td_text30', 'id_td_text31', 'id_td_text32', 'id_td_text33', 'id_td_text34', 'id_td_text35', 'id_td_text36', 'id_td_text37', 'id_td_text38', 'id_td_text39', 'id_td_text40', 'id_td_text41'];
var ids_boxes = ['id_dropBox_textParents', 'id_dropBox_textGrandParents', 'id_dropBox_textUncle', 'id_dropBox_textAunt', 'id_dropBox_textSiblings', 'id_dropBox_textCousins'];
var ids_options = ['id_td_textUncle', 'id_td_textParents', 'id_td_textAunt', 'id_td_textCousins', 'id_td_textSiblings', 'id_td_textGrandParents'];
var ids_spans = ['id_span_textUncle', 'id_span_textParents', 'id_span_textAunt', 'id_span_textCousins', 'id_span_textSiblings', 'id_span_textGrandParents'];
var ids_All = ids_headings.concat(ids_texts, ids_boxes, ids_options);
s_adjust_fontSize_for_ids_all_devices(ids_All, 70);
s_init_dropBox_tds_withOUT_drag_here(ids_boxes);
s_init_dropping_spans(ids_spans);
var id_tables_array = ['id_table1', 'id_table2'];
s_border_collapse_for_tables_except_android(id_tables_array);
//set_tds_widths_according_to_device_type();
}
function set_tds_widths_according_to_device_type()
{
var eTd1 = document.getElementById('id_td_text1');
var eTd2 = document.getElementById('id_td_text3');
var eTd3 = document.getElementById('id_td_text5');
var eTd4 = document.getElementById('id_td_text7');
var eTd5 = document.getElementById('id_td_text9');
var eTd6 = document.getElementById('id_td_text11');
if (s_currentDeviceType == s_DeviceTypeAndroidDeviceApp)
{
eTd1.width = '48%';
eTd2.width = '66%';
eTd3.width = '63%';
eTd4.width = '60%';
eTd5.width = '70%';
eTd6.width = '60%';
}
else if ((s_currentDeviceType == s_DeviceTypeiOSiPhoneAllSizes) || (s_currentDeviceType == s_deviceTypeiOSiPad))
{
eTd1.width = '40%';
eTd2.width = '55%';
eTd3.width = '50%';
eTd4.width = '50%';
eTd5.width = '55%';
eTd6.width = '25%';
}
}
function page_onLoad()
{
}
function btnPrevious_click()
{
window.location = 'LevelECat3Lesson31.html';
}
function btnNext_click()
{
window.location = 'LevelECat3Lesson33.html';
}
function btnHome_click()
{
s_btnHomeCategories_click('LevelE');
}
function DragDrop(id_dropBox, ids_array)
{
if (s_isMovingElementIdInTheArraySetIsFilledTrue(id_dropBox, ids_array))
{
s_setTextAndBackgroundColorToGreenAndIsMovedTrue(s_currentDropingId, id_dropBox);
s_set_currentDropingId_draggbleToFalse();
}
else
{
s_resetCurrentDroppingPosition(id_dropBox);
}
}
function btnValidate_click()
{
var ids_boxes = ['id_dropBox_textParents', 'id_dropBox_textGrandParents', 'id_dropBox_textUncle', 'id_dropBox_textAunt', 'id_dropBox_textSiblings', 'id_dropBox_textCousins'];
var isAllBoxesFilled = s_isAllInfosFilled(ids_boxes);
var eTextField1 = document.getElementById('id_td_text16');
var eTextField2 = document.getElementById('id_td_text20');
var eTextField3 = document.getElementById('id_td_text24');
var eTextField4 = document.getElementById('id_td_text28');
var eTextField5 = document.getElementById('id_td_text32');
var eTextField6 = document.getElementById('id_td_text36');
var eTextField7 = document.getElementById('id_td_text40');
if (isAllBoxesFilled &&
(eTextField1.value != '') &&
(eTextField2.value != '') &&
(eTextField3.value != '') &&
(eTextField4.value != '') &&
(eTextField5.value != '') &&
(eTextField6.value != '') &&
(eTextField7.value != ''))
{
s_show_claps_animation('s_id_div_message');
}
}
function isNumberKey(event)
{
if (event.keyCode >= 48 && event.keyCode <= 57)//It is required for safari.
{
var eTextField = document.getElementById(event.target.id);
if (eTextField.value.length >= 2)
{
return (false);
}
return (true);
}
return (false);
}
</script>
</head>
<body onload="page_onLoad()">
<div id="s_id_div_message"></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="0" cellspacing="0" cellpadding="2%">
<tr height="50%">
<td style="padding-bottom: 0px">
<table id="id_table1" width="100%" height="100%" border="1" cellspacing="0" cellpadding="0">
<tr height="5%">
<td id="id_td_heading1" class="s_style_heading">Fill in the blanks:
</td>
</tr>
<tr height="20%">
<td style="border-top: 0px">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr height="50%">
<td id="id_td_heading2" class="s_style_heading_options" width="*">Options:</td>
<td id="id_td_textUncle" class="s_style_draggable_text" width="25%" align="center" draggable="true" ondragstart="s_dragStartNew(event)">
<span id="id_span_textUncle">uncle</span>
</td>
<td id="id_td_textParents" class="s_style_draggable_text" width="25%" align="center" draggable="true" ondragstart="s_dragStartNew(event)">
<span id="id_span_textParents">parents</span>
</td>
<td id="id_td_textAunt" class="s_style_draggable_text" width="30%" align="center" draggable="true" ondragstart="s_dragStartNew(event)">
<span id="id_span_textAunt">aunt</span>
</td>
</tr>
<tr height="*">
<td id="id_td_text13" width="*"> </td>
<td id="id_td_textCousins" class="s_style_draggable_text" width="25%" align="center" draggable="true" ondragstart="s_dragStartNew(event)">
<span id="id_span_textCousins">cousins</span>
</td>
<td id="id_td_textSiblings" class="s_style_draggable_text" width="25%" align="center" draggable="true" ondragstart="s_dragStartNew(event)">
<span id="id_span_textSiblings">siblings</span>
</td>
<td id="id_td_textGrandParents" class="s_style_draggable_text" width="30%" align="center" draggable="true" ondragstart="s_dragStartNew(event)">
<span id="id_span_textGrandParents">grand parents</span>
</td>
</tr>
</table>
</td>
</tr>
<tr height="*">
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="2%">
<tr id="id_tr_dropBox_textParents" height="16.6%"
ondragover="s_highlight('id_dropBox_textParents'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_dropBox_textParents')"
ondrop="DragDrop('id_dropBox_textParents', ['id_span_textParents'])">
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td_text1" class="s_style_textBlack_padding_left" width="43%">1. Father and mother are</td>
<td id="id_dropBox_textParents" class="s_style_droppable_dash" width="22%" align="center">_________</td>
<td id="id_td_text2" width="*"> </td>
</tr>
</table>
</td>
</tr>
<tr id="id_tr_dropBox_textGrandParents" height="16.6%"
ondragover="s_highlight('id_dropBox_textGrandParents'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_dropBox_textGrandParents')"
ondrop="DragDrop('id_dropBox_textGrandParents', ['id_span_textGrandParents'])">
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td_text3" class="s_style_textBlack_padding_left" width="58%">2. Father's or mother's parents are</td>
<td id="id_dropBox_textGrandParents" class="s_style_droppable_dash" width="28%" align="center">_________</td>
<td id="id_td_text4" width="*"> </td>
</tr>
</table>
</td>
</tr>
<tr id="id_tr_dropBox_textUncle" height="16.6%"
ondragover="s_highlight('id_dropBox_textUncle'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_dropBox_textUncle')"
ondrop="DragDrop('id_dropBox_textUncle', ['id_span_textUncle'])">
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td_text5" class="s_style_textBlack_padding_left" width="55%">3. Father's or mother's brother is</td>
<td id="id_dropBox_textUncle" class="s_style_droppable_dash" width="20%" align="center">_________</td>
<td id="id_td_text6" width="*"> </td>
</tr>
</table>
</td>
</tr>
<tr id="id_tr_dropBox_textAunt" height="16.6%"
ondragover="s_highlight('id_dropBox_textAunt'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_dropBox_textAunt')"
ondrop="DragDrop('id_dropBox_textAunt', ['id_span_textAunt'])">
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td_text7" class="s_style_textBlack_padding_left" width="53%">4. Father's or mother's sister is</td>
<td id="id_dropBox_textAunt" class="s_style_droppable_dash" width="20%" align="center">_________</td>
<td id="id_td_text8" width="*"> </td>
</tr>
</table>
</td>
</tr>
<tr id="id_tr_dropBox_textSiblings" height="16.6%"
ondragover="s_highlight('id_dropBox_textSiblings'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_dropBox_textSiblings')"
ondrop="DragDrop('id_dropBox_textSiblings', ['id_span_textSiblings'])">
<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="62%">5. Your own sisters and brothers are</td>
<td id="id_dropBox_textSiblings" class="s_style_droppable_dash" width="20%" align="center">_________</td>
<td id="id_td_text10" width="*"> </td>
</tr>
</table>
</td>
</tr>
<tr id="id_tr_dropBox_textCousins" height="*"
ondragover="s_highlight('id_dropBox_textCousins'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_dropBox_textCousins')"
ondrop="DragDrop('id_dropBox_textCousins', ['id_span_textCousins'])">
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td_text11" class="s_style_textBlack_padding_left" width="62%">6. Your aunt or uncles children are your</td>
<td id="id_dropBox_textCousins" class="s_style_droppable_dash" width="10%" align="center">_________</td>
<td id="id_td_text12" width="*"> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr height="*">
<td>
<table id="id_table2" width="100%" height="100%" border="1" cellspacing="0" cellpadding="0">
<tr height="5%">
<td id="id_td_heading3" class="s_style_textBlack_padding_left">Answer the following:
</td>
</tr>
<tr height="*">
<td style="padding-top:0.5%; padding-bottom:0.5%">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr height="14.3%">
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="id_td_text14" class="s_style_textBlack_padding_left" width="86%">1. Do you have paternal grandparents?</td>
<td id="id_td_text15" width="12%">
<input type="text" id="id_td_text16" class="s_style_droppable_dash" style="width: 75%; text-align:center">
</td>
<td id="id_td_text17" width="*"> </td>
</tr>
</table>
</td>
</tr>
<tr height="14.3%">
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="id_td_text18" class="s_style_textBlack_padding_left" width="86%">2. Do you have maternal grandparents?</td>
<td id="id_td_text19" width="12%">
<input type="text" id="id_td_text20" class="s_style_droppable_dash" style="width: 75%; text-align:center">
</td>
<td id="id_td_text21" width="*"> </td>
</tr>
</table>
</td>
</tr>
<tr height="14.3%">
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="id_td_text22" class="s_style_textBlack_padding_left" width="86%">3. How many uncles you have on your father's side.</td>
<td id="id_td_text23" width="12%">
<input type="number" id="id_td_text24" class="s_style_droppable_dash" style="width: 75%; text-align:center" onkeypress="return isNumberKey(event)">
</td>
<td id="id_td_text25" width="*"> </td>
</tr>
</table>
</td>
</tr>
<tr height="14.3%">
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="id_td_text26" class="s_style_textBlack_padding_left" width="86%">4. How many aunts you have on your father's side.</td>
<td id="id_td_text27" width="12%">
<input type="number" id="id_td_text28" class="s_style_droppable_dash" style="width: 75%; text-align:center" onkeypress="return isNumberKey(event)">
</td>
<td id="id_td_text29" width="*"> </td>
</tr>
</table>
</td>
</tr>
<tr height="14.3%">
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="id_td_text30" class="s_style_textBlack_padding_left" width="86%">5. How many uncles you have on your mother's side.</td>
<td id="id_td_text31" width="12%">
<input type="number" id="id_td_text32" class="s_style_droppable_dash" style="width: 75%; text-align:center" onkeypress="return isNumberKey(event)">
</td>
<td id="id_td_text33" width="*"> </td>
</tr>
</table>
</td>
</tr>
<tr height="14.3%">
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="id_td_text34" class="s_style_textBlack_padding_left" width="86%">6. How many aunts you have on your mother's side.</td>
<td id="id_td_text35" width="12%">
<input type="number" id="id_td_text36" class="s_style_droppable_dash" style="width: 75%; text-align:center" onkeypress="return isNumberKey(event)">
</td>
<td id="id_td_text37" width="*"> </td>
</tr>
</table>
</td>
</tr>
<tr height="*">
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="id_td_text38" class="s_style_textBlack_padding_left" width="86%">7. How many cousins you have.</td>
<td id="id_td_text39" width="12%">
<input type="number" id="id_td_text40" class="s_style_droppable_dash" style="width: 75%; text-align:center" onkeypress="return isNumberKey(event)">
</td>
<td id="id_td_text41" width="*"> </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_textUncle', {handle : 'id_td_textUncle', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
new webkit_draggable('id_span_textParents', {handle : 'id_td_textParents', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
new webkit_draggable('id_span_textAunt', {handle : 'id_td_textAunt', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
new webkit_draggable('id_span_textCousins', {handle : 'id_td_textCousins', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
new webkit_draggable('id_span_textSiblings', {handle : 'id_td_textSiblings', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
new webkit_draggable('id_span_textGrandParents', {handle : 'id_td_textGrandParents', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
webkit_drop.add('id_tr_dropBox_textParents', {onOver : function(){s_highlight('id_dropBox_textParents')}, onOut : function(){s_un_highlight('id_dropBox_textParents')}, onDrop : function(){DragDrop('id_dropBox_textParents', ['id_span_textParents'])}});
webkit_drop.add('id_tr_dropBox_textGrandParents', {onOver : function(){s_highlight('id_dropBox_textGrandParents')}, onOut : function(){s_un_highlight('id_dropBox_textGrandParents')}, onDrop : function(){DragDrop('id_dropBox_textGrandParents', ['id_span_textGrandParents'])}});
webkit_drop.add('id_tr_dropBox_textUncle', {onOver : function(){s_highlight('id_dropBox_textUncle')}, onOut : function(){s_un_highlight('id_dropBox_textUncle')}, onDrop : function(){DragDrop('id_dropBox_textUncle', ['id_span_textUncle'])}});
webkit_drop.add('id_tr_dropBox_textAunt', {onOver : function(){s_highlight('id_dropBox_textAunt')}, onOut : function(){s_un_highlight('id_dropBox_textAunt')}, onDrop : function(){DragDrop('id_dropBox_textAunt', ['id_span_textAunt'])}});
webkit_drop.add('id_tr_dropBox_textSiblings', {onOver : function(){s_highlight('id_dropBox_textSiblings')}, onOut : function(){s_un_highlight('id_dropBox_textSiblings')}, onDrop : function(){DragDrop('id_dropBox_textSiblings', ['id_span_textSiblings'])}});
webkit_drop.add('id_tr_dropBox_textCousins', {onOver : function(){s_highlight('id_dropBox_textCousins')}, onOut : function(){s_un_highlight('id_dropBox_textCousins')}, onDrop : function(){DragDrop('id_dropBox_textCousins', ['id_span_textCousins'])}});
</script>
</body>
</html>