-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
69 lines (61 loc) · 1.35 KB
/
Copy pathindex.html
File metadata and controls
69 lines (61 loc) · 1.35 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Piik test</title>
<style type="text/css">
#piikTest {
width: 900px;
height: 560px;
}
body {
width: 900px;
margin: 0 auto;
}
</style>
<link rel="stylesheet" type="text/css" href="css/piik.css" />
<script src="js/piik.js"></script>
<script>
var initTest = function(){
// create new piik instance
// is added as a global var for testing
piikTest = new piik( 'piikTest' );
document.body.onkeydown = function(){
piikTest.showResult();
};
document.body.onkeyup = function(){
piikTest.showSource();
};
};
window.onload = initTest;
</script>
</head>
<body>
<textarea id="piikTest"><!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>Piik test page</title>
<style type="text/css">
body {
background-color: #fff;
font-family: sans-serif;
}
#wrapper {
width: 400px; background-color: #aaa; font-size: 33px;
margin: 0 auto; padding: 30px;
}
</style>
</head>
<body>
<div id="wrapper">
<h1>helloworld</h1>
<div>TES TEST<div>wakka wakka</div> TEST</div>
<p>Voco cui <b>multo</b> capio in tation gemino te.</p>
<p>Huic, opto antehabeo, demoveo tincidunt fatua.</p>
<p>In velit haero olim bene refoveo, in consequat</p>
</div>
</body>
</html></textarea>
</body>
</html>