????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_old3/Html/LevelC/Category2/ |
Upload File : |
<!DOCTYPE html>
<html>
<head>
<title>Count the number of 'red, blue and white' stars</title>
<script type="text/javascript" src="../../../js/allScriptsForLessonsHtml.js"></script>
<style type="text/css">
canvas
{
border:0px solid #d3d3d3;
position:absolute;
display:none;
}
</style>
<script>
function page_preLoad()
{
shared_setDeviceTypeLevelCategoryLastLesson(Level.C, Category.No2);
shared_set_tblMainiPadBodyWidthHeight('id_tblMainiPadBody', 'id_meta');
shared_setHeaderTable('id_tblHeader', shared_title_page, shared_getSubTitle(Level.C, Category.No2, 16), 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_no3', 'id_dropBox_no8_set1', 'id_dropBox_no11', 'id_dropBox_no4', 'id_dropBox_no8_set2', 'id_dropBox_no12', 'id_dropBox_no6', 'id_dropBox_no10', 'id_dropBox_no16'];
var ids_options = ['id_td_no8_set1', 'id_td_no11', 'id_td_no3', 'id_td_no8_set2', 'id_td_no12', 'id_td_no4', 'id_td_no10', 'id_td_no16', 'id_td_no6'];
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'];
var ids_spans = ['id_span_no8_set1', 'id_span_no11', 'id_span_no3', 'id_span_no8_set2', 'id_span_no12', 'id_span_no4', 'id_span_no10', 'id_span_no16', 'id_span_no6'];
var ids_All = ids_headings.concat(ids_boxes, ids_texts);
shared_adjust_fontSize_for_ids_all_devices(ids_All, 80);
shared_adjust_fontSize_for_ids_all_devices(ids_options, 100);
shared_init_dropBox_tds_withOUT_drag_here(ids_boxes);
shared_init_dropping_spans(ids_spans);
}
function page_onLoad()
{
}
function btnPrevious_click()
{
window.location = 'LevelCCat2Lesson15.html';
}
function btnNext_click()
{
window.location = 'LevelCCat2Lesson17.html';
}
function btnHome_click()
{
shared_btnHomeCategories_click('LevelC');
}
function DragDrop(id_dropBox, ids_array)
{
if (shared_isMovingElementIdInTheArraySetIsFilledTrue(id_dropBox, ids_array))
{
shared_setTextAndBackgroundColorToGreenAndIsMovedTrue(shared_currentDropingId, id_dropBox);
isAllInfosMovedShowClapsAnimation();
shared_set_currentDropingId_draggbleToFalse();
}
else
{
shared_resetCurrentDroppingPosition(id_dropBox);
}
}
function isAllInfosMovedShowClapsAnimation()
{
var ids_boxes = ['id_dropBox_no3', 'id_dropBox_no8_set1', 'id_dropBox_no11', 'id_dropBox_no4', 'id_dropBox_no8_set2', 'id_dropBox_no12', 'id_dropBox_no6', 'id_dropBox_no10', 'id_dropBox_no16'];
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="0">
<tr>
<td>
<table width="100%" height="100%" border="0px" cellspacing="0" cellpadding="2%">
<tr height="33%">
<td align="center" style="padding-bottom: 0px">
<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
<tr height="20%">
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="*" id="id_td_heading1" class="shared_style_options_blue_24px_bold">Options:</td>
<td id="id_td_no8_set1" class="shared_style_red_24px_bold" width="25%" align="center" draggable="true" ondragstart="shared_dragStartNew(event)">
<span id="id_span_no8_set1" class="cls_drag_no8_set1">8</span>
</td>
<td id="id_td_no11" class="shared_style_red_24px_bold" width="25%" align="center" draggable="true" ondragstart="shared_dragStartNew(event)">
<span id="id_span_no11" class="cls_drag_no11">11</span>
</td>
<td id="id_td_no3" class="shared_style_red_24px_bold" width="25%" align="center" draggable="true" ondragstart="shared_dragStartNew(event)">
<span id="id_span_no3" class="cls_drag_no3">3</span>
</td>
</tr>
</table>
</td>
</tr>
<tr height="*">
<td style="padding-bottom:1%">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr id="id_tr_question_no11" height="50%"
ondragover="shared_highlight('id_dropBox_no11'); shared_allowDrop_web(event)"
ondragleave="shared_un_highlight('id_dropBox_no11')"
ondrop="DragDrop('id_dropBox_no11', ['id_span_no11'])">
<td id="id_td_text1" class="shared_style_blue_24px_bold" width="50%" align="right">
<span>Total blue <span style="color:red">Star</span>s: </span>
</td>
<td width="10%" align="center">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr height="30%">
<td></td>
</tr>
<tr height="*">
<td id="id_dropBox_no11" class="shared_style_options_red" align="center">____
</td>
</tr>
<tr height="30%">
<td></td>
</tr>
</table>
</td>
<td width="*" align="center">
<img id="id_imgBlueStars11" src="../../../img/LevelC/Category2/LevelCCat2Lesson16/blueStars11.png" width="30%" height="auto">
</td>
</tr>
<tr id="id_tr_question_no3" height="25%"
ondragover="shared_highlight('id_dropBox_no3'); shared_allowDrop_web(event)"
ondragleave="shared_un_highlight('id_dropBox_no3')"
ondrop="DragDrop('id_dropBox_no3', ['id_span_no3'])">
<td id="id_td_text2" class="shared_style_blue_24px_bold" width="50%" align="right">
<span><span style="color:red">Take away</span>: </span>
</td>
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr height="20%">
<td></td>
</tr>
<tr height="*">
<td id="id_dropBox_no3" class="shared_style_options_red" align="center">____
</td>
</tr>
<tr height="20%">
<td></td>
</tr>
</table>
</td>
<td width="*" align="center">
<img id="id_imgBlueStars3" src="../../../img/LevelC/Category2/LevelCCat2Lesson16/blueStars3.png" width="20%" height="auto">
</td>
</tr>
<tr id="id_tr_question_no8_set1" height="*"
ondragover="shared_highlight('id_dropBox_no8_set1'); shared_allowDrop_web(event)"
ondragleave="shared_un_highlight('id_dropBox_no8_set1')"
ondrop="DragDrop('id_dropBox_no8_set1', ['id_span_no8_set1'])">
<td id="id_td_text3" class="shared_style_blue_24px_bold" width="50%" align="right">
<span>Remaining blue <span style="color:red">star</span>s:</span>
</td>
<td id="id_dropBox_no8_set1" class="shared_style_options_red" width="10%" align="center">____
</td>
<td width="*"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr height="33%">
<td align="center" style="padding-bottom: 0px">
<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
<tr height="20%">
<td style="border-bottom: 0px">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="*" id="id_td_heading2" class="shared_style_options_blue_24px_bold">Options:</td>
<td id="id_td_no8_set2" class="shared_style_red_24px_bold" width="25%" align="center" draggable="true" ondragstart="shared_dragStartNew(event)">
<span id="id_span_no8_set2" class="cls_drag_no8_set2">8</span>
</td>
<td id="id_td_no12" class="shared_style_red_24px_bold" width="25%" align="center" draggable="true" ondragstart="shared_dragStartNew(event)">
<span id="id_span_no12" class="cls_drag_no12">12</span>
</td>
<td id="id_td_no4" class="shared_style_red_24px_bold" width="25%" align="center" draggable="true" ondragstart="shared_dragStartNew(event)">
<span id="id_span_no4" class="cls_drag_no4">4</span>
</td>
</tr>
</table>
</td>
</tr>
<tr height="*">
<td style="padding-bottom:1%">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr id="id_tr_question_no12" height="50%"
ondragover="shared_highlight('id_dropBox_no12'); shared_allowDrop_web(event)"
ondragleave="shared_un_highlight('id_dropBox_no12')"
ondrop="DragDrop('id_dropBox_no12', ['id_span_no12'])">
<td id="id_td_text4" class="shared_style_blue_24px_bold" width="50%" align="right">
<span>Total red <span style="color:red">star</span>s: </span>
</td>
<td width="10%">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr height="30%">
<td></td>
</tr>
<tr height="*">
<td id="id_dropBox_no12" class="shared_style_options_red" align="center">____</td>
</tr>
<tr height="30%">
<td></td>
</tr>
</table>
</td>
<td width="*" align="center">
<img id="id_imgRedStars12" src="../../../img/LevelC/Category2/LevelCCat2Lesson16/redStars12.png" width="30%" height="auto">
</td>
</tr>
<tr id="id_tr_question_no4" height="25%"
ondragover="shared_highlight('id_dropBox_no4'); shared_allowDrop_web(event)"
ondragleave="shared_un_highlight('id_dropBox_no4')"
ondrop="DragDrop('id_dropBox_no4', ['id_span_no4'])">
<td id="id_td_text5" class="shared_style_blue_24px_bold" width="50%" align="right">
<span><span style="color:red">Take away</span>: </span>
</td>
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr height="20%">
<td></td>
</tr>
<tr height="*">
<td id="id_dropBox_no4" class="shared_style_options_red" align="center">____
</td>
</tr>
<tr height="20%">
<td></td>
</tr>
</table>
</td>
<td width="*" align="center">
<img id="id_imgRedStars4" src="../../../img/LevelC/Category2/LevelCCat2Lesson16/redStars4.png" width="23%" height="auto">
</td>
</tr>
<tr id="id_tr_question_no8_set2" height="*"
ondragover="shared_highlight('id_dropBox_no8_set2'); shared_allowDrop_web(event)"
ondragleave="shared_un_highlight('id_dropBox_no8_set2')"
ondrop="DragDrop('id_dropBox_no8_set2', ['id_span_no8_set2'])">
<td id="id_td_text6" class="shared_style_blue_24px_bold" width="50%" align="right">
<span>Remaining red <span style="color:red">star</span>s: </span>
</td>
<td id="id_dropBox_no8_set2" class="shared_style_options_red" width="10%" align="center">____
</td>
<td width="*"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr height="*">
<td align="center">
<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
<tr height="20%">
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="*" id="id_td_heading3" class="shared_style_options_blue_24px_bold">Options:</td>
<td id="id_td_no10" class="shared_style_red_24px_bold" width="25%" align="center" draggable="true" ondragstart="shared_dragStartNew(event)">
<span id="id_span_no10" class="cls_drag_no10">10</span>
</td>
<td id="id_td_no16" class="shared_style_red_24px_bold" width="25%" align="center" draggable="true" ondragstart="shared_dragStartNew(event)">
<span id="id_span_no16" class="cls_drag_no16">16</span>
</td>
<td id="id_td_no6" class="shared_style_red_24px_bold" width="25%" align="center" draggable="true" ondragstart="shared_dragStartNew(event)">
<span id="id_span_no6" class="cls_drag_no6">6</span>
</td>
</tr>
</table>
</td>
</tr>
<tr height="*">
<td style="padding-bottom:1%">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr id="id_tr_question_no16" height="50%"
ondragover="shared_highlight('id_dropBox_no16'); shared_allowDrop_web(event)"
ondragleave="shared_un_highlight('id_dropBox_no16')"
ondrop="DragDrop('id_dropBox_no16', ['id_span_no16'])">
<td id="id_td_text7" class="shared_style_blue_24px_bold" width="50%" align="right">
<span>Total white <span style="color:red">star</span>s: </span>
</td>
<td width="10%">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr height="30%">
<td></td>
</tr>
<tr height="*">
<td id="id_dropBox_no16" class="shared_style_options_red" align="center">____</td>
</tr>
<tr height="30%">
<td></td>
</tr>
</table>
</td>
<td width="*" align="center">
<img id="id_imgWhiteStars16" src="../../../img/LevelC/Category2/LevelCCat2Lesson16/whiteStars16.png" width="25%" height="auto">
</td>
</tr>
<tr id="id_tr_question_no6" height="25%"
ondragover="shared_highlight('id_dropBox_no6'); shared_allowDrop_web(event)"
ondragleave="shared_un_highlight('id_dropBox_no6')"
ondrop="DragDrop('id_dropBox_no6', ['id_span_no6'])">
<td id="id_td_text8" class="shared_style_blue_24px_bold" width="50%" align="right">
<span><span style="color:red">Take away</span>: </span>
</td>
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr height="20%">
<td></td>
</tr>
<tr height="*">
<td id="id_dropBox_no6" class="shared_style_options_red" align="center">____
</td>
</tr>
<tr height="20%">
<td></td>
</tr>
</table>
</td>
<td width="*" align="center">
<img id="id_imgWhiteStars6" src="../../../img/LevelC/Category2/LevelCCat2Lesson16/whiteStars6.png" width="30%" height="auto">
</td>
</tr>
<tr id="id_tr_question_no10" height="*"
ondragover="shared_highlight('id_dropBox_no10'); shared_allowDrop_web(event)"
ondragleave="shared_un_highlight('id_dropBox_no10')"
ondrop="DragDrop('id_dropBox_no10', ['id_span_no10'])">
<td id="id_td_text9" class="shared_style_blue_24px_bold" width="50%" align="right">
<span>Remaining white <span style="color:red">star</span>s: </span>
</td>
<td id="id_dropBox_no10" class="shared_style_options_red" width="10%" align="center">____
</td>
<td 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_no3', {handle : 'id_td_no3', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
new webkit_draggable('id_span_no8_set1', {handle : 'id_td_no8_set1', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
new webkit_draggable('id_span_no11', {handle : 'id_td_no11', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
new webkit_draggable('id_span_no4', {handle : 'id_td_no4', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
new webkit_draggable('id_span_no8_set2', {handle : 'id_td_no8_set2', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
new webkit_draggable('id_span_no12', {handle : 'id_td_no12', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
new webkit_draggable('id_span_no6', {handle : 'id_td_no6', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
new webkit_draggable('id_span_no10', {handle : 'id_td_no10', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
new webkit_draggable('id_span_no16', {handle : 'id_td_no16', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
webkit_drop.add('id_tr_question_no3', {onOver : function(){shared_highlight('id_dropBox_no3')}, onOut : function(){shared_un_highlight('id_dropBox_no3')}, onDrop : function(){DragDrop('id_dropBox_no3', ['id_span_no3'])}});
webkit_drop.add('id_tr_question_no8_set1', {onOver : function(){shared_highlight('id_dropBox_no8_set1')}, onOut : function(){shared_un_highlight('id_dropBox_no8_set1')}, onDrop : function(){DragDrop('id_dropBox_no8_set1', ['id_span_no8_set1'])}});
webkit_drop.add('id_tr_question_no11', {onOver : function(){shared_highlight('id_dropBox_no11')}, onOut : function(){shared_un_highlight('id_dropBox_no11')}, onDrop : function(){DragDrop('id_dropBox_no11', ['id_span_no11'])}});
webkit_drop.add('id_tr_question_no4', {onOver : function(){shared_highlight('id_dropBox_no4')}, onOut : function(){shared_un_highlight('id_dropBox_no4')}, onDrop : function(){DragDrop('id_dropBox_no4', ['id_span_no4'])}});
webkit_drop.add('id_tr_question_no8_set2', {onOver : function(){shared_highlight('id_dropBox_no8_set2')}, onOut : function(){shared_un_highlight('id_dropBox_no8_set2')}, onDrop : function(){DragDrop('id_dropBox_no8_set2', ['id_span_no8_set2'])}});
webkit_drop.add('id_tr_question_no12', {onOver : function(){shared_highlight('id_dropBox_no12')}, onOut : function(){shared_un_highlight('id_dropBox_no12')}, onDrop : function(){DragDrop('id_dropBox_no12', ['id_span_no12'])}});
webkit_drop.add('id_tr_question_no6', {onOver : function(){shared_highlight('id_dropBox_no6')}, onOut : function(){shared_un_highlight('id_dropBox_no6')}, onDrop : function(){DragDrop('id_dropBox_no6', ['id_span_no6'])}});
webkit_drop.add('id_tr_question_no10', {onOver : function(){shared_highlight('id_dropBox_no10')}, onOut : function(){shared_un_highlight('id_dropBox_no10')}, onDrop : function(){DragDrop('id_dropBox_no10', ['id_span_no10'])}});
webkit_drop.add('id_tr_question_no16', {onOver : function(){shared_highlight('id_dropBox_no16')}, onOut : function(){shared_un_highlight('id_dropBox_no16')}, onDrop : function(){DragDrop('id_dropBox_no16', ['id_span_no16'])}});
</script>
</body>
</html>