//////////////////////////////// AUDIO TEST /////////////////////////////////
//////////////////////////////// video TEST /////////////////////////////////
var vid_y = new Array(20); vid_y[0] = document.createElement('video'); vid_y[0].setAttribute('src', 'me_eve_snd.ogg');
//////////////////////////////// video TEST /////////////////////////////////
function canvasApp() {
if (!canvasSupport()) { return; } }
function draw() {
var ctx = document.getElementById('canvas').getContext('2d');
ctx.clearRect(0, 0, 650, 400);
ctx.drawImage(vid_y[0], 0, 0, 540, 460, 100, 100, 248, 186); } vid_y[0].play(); // setInterval(drawScreen, 33); setInterval(draw, 63);
// END OF } function draw() { //////////////////////////////////////////////////////////////////////////////////
function start_level() { vid_y[0].pause(); //window.open('../special/level1/visual/it_tut_main_ind01.html','width=700,height=600,resizable=yes'); window.open('it_tut_main_num01.html','width=700,height=600,resizable=yes');
}
function start_level2() { vid_y[0].pause(); //window.open('../special/level1/visual/it_tut_main_ind02.html','width=700,height=600,resizable=yes'); window.open('it_tut_main_num02.html','width=700,height=600,resizable=yes'); }
function start_level3() { vid_y[0].pause(); //window.open('../special/level1/visual/it_tut_main_ind03.html','width=700,height=600,resizable=yes'); window.open('it_tut_main_num03.html','width=700,height=600,resizable=yes'); }
function start_level4() { vid_y[0].pause(); window.open('it_tut_main_num04.html','width=700,height=600,resizable=yes'); }
function start_level5() { vid_y[0].pause(); //window.open('../special/level1/visual/it_tut_main_ind05.html','width=700,height=600,resizable=yes'); window.open('it_tut_main_num05.html','width=700,height=600,resizable=yes');
}
function start_level6() { vid_y[0].pause(); //window.open('../special/level1/visual/it_tut_main_ind06.html','width=700,height=600,resizable=yes'); window.open('it_tut_main_num06.html','width=700,height=600,resizable=yes'); }
function start_level7() { vid_y[0].pause(); //window.open('../special/level1/visual/it_tut_main_ind07.html','width=700,height=600,resizable=yes'); window.open('it_tut_main_num07.html','width=700,height=600,resizable=yes'); }
function start_level8() { vid_y[0].pause(); window.open('it_tut_main_num08.html','width=700,height=600,resizable=yes'); }
function start_level9() { vid_y[0].pause(); //window.open('../special/level1/visual/it_tut_main_ind09.html','width=700,height=600,resizable=yes'); window.open('it_tut_main_num09.html','width=700,height=600,resizable=yes');
}
function start_level10() { vid_y[0].pause(); //window.open('../special/level1/visual/it_tut_main_ind10.html','width=700,height=600,resizable=yes'); window.open('it_tut_main_num10.html','width=700,height=600,resizable=yes'); }
function start_level11() { vid_y[0].pause(); //window.open('../special/level1/visual/it_tut_main_ind11.html','width=700,height=600,resizable=yes'); window.open('it_tut_main_num11.html','width=700,height=600,resizable=yes'); }
function start_level12() { vid_y[0].pause(); window.open('it_tut_main_num12.html','width=700,height=600,resizable=yes'); }
// END OF START level FUNCTION { //////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////// START THE PROGRAM FROM THIS POINT / FUNCTION //////////////////
function StartQuiz() {
processing: /////////// start processing {
draw();
////////////////////////////////// draw //////////////////////////
canvas.addEventListener('mousemove', ev_mousemove ); var started = true;
////////////////////////////////////////////// function EV move /////////////////////////////////////// function ev_mousemove (ev) { var x5, y5;
x5 = ev.layerX; y5 = ev.layerY; x5 = x5 - 50;
}
} ///////////////////////////////////// end processing //////////////////////////////////////////////
} // ////////////////////////////////////// END OF } StartQuiz();
Numbers – Fundementals