????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.25 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/LevelD/Category3/ |
Upload File : |
<!doctype html>
<html>
<head>
<title>Match flowers with trees</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.D, Category.No3);
shared_set_tblMainiPadBodyWidthHeight('id_tblMainiPadBody', 'id_meta');
shared_setHeaderTable('id_tblHeader', shared_title_page, shared_getSubTitle(Level.D, Category.No3, 16), true, true);
shared_setFooterTable('id_tblFooter', true, true, false, true, true);
var ids_headings = ['id_td_heading1'];
var ids_boxes = ['id_dropBox_imgRose', 'id_dropBox_imgHibiscus', 'id_dropBox_imgJasmine', 'id_dropBox_imgLotus', 'id_dropBox_imgMarigold'];
var ids_spans = ['id_span_imgRose', 'id_span_imgJasmine', 'id_span_imgHibiscus', 'id_span_imgLotus', 'id_span_imgMarigold'];
var ids_All = ids_boxes.concat(ids_headings);
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);
var id_tables_array = ['id_table1'];
shared_border_collapse_for_tables_for_all(id_tables_array);
}
function page_onLoad()
{
}
function btnPrevious_click()
{
window.location = 'LevelDCat3Lesson15.html';
}
function btnNext_click()
{
window.location = 'LevelDCat3Lesson17.html';
}
function btnHome_click()
{
shared_btnHomeCategories_click('LevelD');
}
function DragDrop(id_dropBox, id_imgElement, ids_array)
{
if (shared_isMovingElementIdInTheArraySetIsFilledTrue(id_dropBox, ids_array))
{
dragDropImageAndIsMovedTrue(shared_currentDropingId, id_dropBox, id_imgElement);
isAllInfosMovedShowClapsAnimation();
shared_set_currentDropingId_draggbleToFalse();
}
else
{
shared_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_imgJasmine')
{
imageSource = '../../../img/LevelD/Category3/LevelDCat3Lesson16/jasmineColoured.png';
}
else if (id_draggable_image == 'id_span_imgLotus')
{
imageSource = '../../../img/LevelD/Category3/LevelDCat3Lesson16/lotusColoured.png';
}
else if (id_draggable_image == 'id_span_imgRose')
{
imageSource = '../../../img/LevelD/Category3/LevelDCat3Lesson16/roseColoured.png';
}
else if (id_draggable_image == 'id_span_imgHibiscus')
{
imageSource = '../../../img/LevelD/Category3/LevelDCat3Lesson16/hibiscusColoured.png';
}
else if (id_draggable_image == 'id_span_imgMarigold')
{
imageSource = '../../../img/LevelD/Category3/LevelDCat3Lesson16/marigoldColoured.png';
}
var insertImage = '<img src="' + imageSource + '" width="' + elementImageSource.width + '" height="' + elementImageSource.height + '"/>';
elementBox.innerHTML = insertImage;
elementBox.style.backgroundColor = shared_colorGreen;
elementDraggableImage.hidden = true;
elementDraggableImage.isMoved = true;
}
function isAllInfosMovedShowClapsAnimation()
{
var ids_boxes = ['id_dropBox_imgRose', 'id_dropBox_imgHibiscus', 'id_dropBox_imgJasmine', 'id_dropBox_imgLotus', 'id_dropBox_imgMarigold'];
shared_is_all_infos_filled_show_claps_animationWithIsFilled(ids_boxes);
}
</script>
</head>
<body onload="page_onLoad()">
<div id="shared_id_div_claps_image">
</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="1" 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-bottom:0px">
<table id="id_tblSection2" width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr height="8%">
<td>
<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td id="id_td_heading1" class="shared_style_black_24px_bold_padding_left_2_percent" style="border:none">Trees give us flowers.<br>
Match the flowers with the trees.
</td>
</tr>
</table>
</td>
</tr>
<tr height="*">
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="70%" style="border-left: 0px; border-right: 0px">
<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td width="*" style="border-right: 0px; border-left:none">
<table width="100%" height="100%" border="0" cellspacing="2%" cellpadding="0" style="padding-top: 1%; padding-bottom: 1%">
<tr id="id_tr_dropBox_imgRose" height="20%"
ondragover="shared_highlight('id_dropBox_imgRose'); shared_allowDrop_web(event)"
ondragleave="shared_un_highlight('id_dropBox_imgRose')"
ondrop="DragDrop('id_dropBox_imgRose', 'id_imgRose', ['id_span_imgRose'])">
<td align="center" width="60%">
<img src="../../../img/LevelD/Category3/LevelDCat3Lesson16/hibiscusTree.png" width="55%" alt="" draggable="false"/>
</td>
<td id="id_dropBox_imgRose" class="shared_style_red_24px_bold" width="*"></td>
</tr>
<tr id="id_tr_dropBox_imgHibiscus" height="20%"
ondragover="shared_highlight('id_dropBox_imgHibiscus'); shared_allowDrop_web(event)"
ondragleave="shared_un_highlight('id_dropBox_imgHibiscus')"
ondrop="DragDrop('id_dropBox_imgHibiscus', 'id_imgHibiscus', ['id_span_imgHibiscus'])">
<td align="center" width="60%">
<img src="../../../img/LevelD/Category3/LevelDCat3Lesson16/roseTree.png" width="55%" alt="" draggable="false"/>
</td>
<td id="id_dropBox_imgHibiscus" class="shared_style_red_24px_bold" width="*">
</td>
</tr>
<tr id="id_tr_dropBox_imgJasmine" height="20%"
ondragover="shared_highlight('id_dropBox_imgJasmine'); shared_allowDrop_web(event)"
ondragleave="shared_un_highlight('id_dropBox_imgJasmine')"
ondrop="DragDrop('id_dropBox_imgJasmine', 'id_imgJasmine', ['id_span_imgJasmine'])">
<td align="center" width="60%">
<img src="../../../img/LevelD/Category3/LevelDCat3Lesson16/jasmineTree.png" width="55%" alt="" draggable="false"/>
</td>
<td id="id_dropBox_imgJasmine" class="shared_style_red_24px_bold" width="*">
</td>
</tr>
<tr id="id_tr_dropBox_imgMarigold" height="20%"
ondragover="shared_highlight('id_dropBox_imgMarigold'); shared_allowDrop_web(event)"
ondragleave="shared_un_highlight('id_dropBox_imgMarigold')"
ondrop="DragDrop('id_dropBox_imgMarigold', 'id_imgMarigold', ['id_span_imgMarigold'])">
<td align="center" width="60%">
<img src="../../../img/LevelD/Category3/LevelDCat3Lesson16/marigoldTree.png" width="55%" alt="" draggable="false"/>
</td>
<td id="id_dropBox_imgMarigold" class="shared_style_red_24px_bold" width="*">
</td>
</tr>
<tr id="id_tr_dropBox_imgLotus" height="*"
ondragover="shared_highlight('id_dropBox_imgLotus'); shared_allowDrop_web(event)"
ondragleave="shared_un_highlight('id_dropBox_imgLotus')"
ondrop="DragDrop('id_dropBox_imgLotus', 'id_imgLotus', ['id_span_imgLotus'])">
<td align="center" width="60%">
<img src="../../../img/LevelD/Category3/LevelDCat3Lesson16/lotusTree.png" width="50%" alt="" draggable="false"/>
</td>
<td id="id_dropBox_imgLotus" class="shared_style_red_24px_bold" width="*"></td>
</tr>
</table>
</td>
<td width="2%" style="border-left: 0px; border-right: 0px"></td>
</tr>
</table>
</td>
<td width="*" style="border-left: 0px">
<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="2%" cellpadding="0">
<tr height="20%">
<td id="id_td_imgJasmine" align="center" draggable="true" ondragstart="shared_dragStartNew(event)">
<span id="id_span_imgJasmine">
<img id="id_imgJasmine" src="../../../img/LevelD/Category3/LevelDCat3Lesson16/jasmine.png" width="53%" alt=""/>
</span>
</td>
</tr>
<tr height="20%">
<td id="id_td_imgLotus" align="center" draggable="true" ondragstart="shared_dragStartNew(event)">
<span id="id_span_imgLotus">
<img id="id_imgLotus" src="../../../img/LevelD/Category3/LevelDCat3Lesson16/lotus.png" width="45%" alt=""/>
</span>
</td>
</tr>
<tr height="20%">
<td id="id_td_imgRose" align="center" draggable="true" ondragstart="shared_dragStartNew(event)">
<span id="id_span_imgRose">
<img id="id_imgRose" src="../../../img/LevelD/Category3/LevelDCat3Lesson16/rose.png" width="35%" alt=""/>
</span>
</td>
</tr>
<tr height="20%">
<td id="id_td_imgHibiscus" align="center" draggable="true" ondragstart="shared_dragStartNew(event)">
<span id="id_span_imgHibiscus">
<img id="id_imgHibiscus" src="../../../img/LevelD/Category3/LevelDCat3Lesson16/hibiscus.png" width="37%" alt=""/>
</span>
</td>
</tr>
<tr height="*">
<td id="id_td_imgMarigold" align="center" draggable="true" ondragstart="shared_dragStartNew(event)">
<span id="id_span_imgMarigold">
<img id="id_imgMarigold" src="../../../img/LevelD/Category3/LevelDCat3Lesson16/marigold.png" width="55%" 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_imgHibiscus', {handle : 'id_td_imgHibiscus', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
new webkit_draggable('id_span_imgLotus', {handle : 'id_td_imgLotus', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
new webkit_draggable('id_span_imgJasmine', {handle : 'id_td_imgJasmine', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
new webkit_draggable('id_span_imgRose', {handle : 'id_td_imgRose', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
new webkit_draggable('id_span_imgMarigold', {handle : 'id_td_imgMarigold', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
webkit_drop.add('id_tr_dropBox_imgRose', {onOver : function(){shared_highlight('id_dropBox_imgRose')}, onOut : function(){shared_un_highlight('id_dropBox_imgRose')}, onDrop : function(){DragDrop('id_dropBox_imgRose', 'id_imgRose', ['id_span_imgRose'])}});
webkit_drop.add('id_tr_dropBox_imgLotus', {onOver : function(){shared_highlight('id_dropBox_imgLotus')}, onOut : function(){shared_un_highlight('id_dropBox_imgLotus')}, onDrop : function(){DragDrop('id_dropBox_imgLotus', 'id_imgLotus', ['id_span_imgLotus'])}});
webkit_drop.add('id_tr_dropBox_imgJasmine', {onOver : function(){shared_highlight('id_dropBox_imgJasmine')}, onOut : function(){shared_un_highlight('id_dropBox_imgJasmine')}, onDrop : function(){DragDrop('id_dropBox_imgJasmine', 'id_imgJasmine', ['id_span_imgJasmine'])}});
webkit_drop.add('id_tr_dropBox_imgHibiscus', {onOver : function(){shared_highlight('id_dropBox_imgHibiscus')}, onOut : function(){shared_un_highlight('id_dropBox_imgHibiscus')}, onDrop : function(){DragDrop('id_dropBox_imgHibiscus', 'id_imgHibiscus', ['id_span_imgHibiscus'])}});
webkit_drop.add('id_tr_dropBox_imgMarigold', {onOver : function(){shared_highlight('id_dropBox_imgMarigold')}, onOut : function(){shared_un_highlight('id_dropBox_imgMarigold')}, onDrop : function(){DragDrop('id_dropBox_imgMarigold', 'id_imgMarigold', ['id_span_imgMarigold'])}});
</script>
</body>
</html>