summaryrefslogtreecommitdiff
path: root/engines/kokompe/Test.html
blob: bb05f4676d0b4b7b0e7d2da3fb503da6bf9d78be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<html>
<head>
	<style>
		#testarea {
			width:		100%;
			height:		100%;
			font-size:		60px;
			text-align:		center;
		}
	</style>
	<script language="JavaScript" src="jquery.js"></script>
	<script language="JavaScript" src="Test.js"></script>
	<script>
		var CurTest;
		$(function() {
			var images = [
				"img/1.jpg",
				"img/2.jpg",
				"img/3.jpg",
				"img/4.jpg",
				"img/5.jpg",
			];
			
			CurTest = new Test($("#testarea"), images, "Kúkalabbi");
		});
	</script>
</head>
<body>

<input type="button" value="Start test" onclick="CurTest.Start();"/>
<input type="button" value="Stop test" onclick="CurTest.Stop();"/>

<div id="testarea">Y0</div>

</body>
</html>