-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.html
executable file
·38 lines (35 loc) · 1.16 KB
/
test.html
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<link rel="stylesheet" href="style.css" type="text/css"/>
<script type="text/javascript" src="mootools-1.2.5-core-nc.js"></script>
<script type="text/javascript" src="test.js"></script>
</head>
<body>
<!--[if IE]>
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script>
<style>
.chromeFrameInstallDefaultStyle {
width: 100%; /* default is 800px */
border: 5px solid blue;
}
</style>
<div id="prompt">
</div>
<script>
// The conditional ensures that this code will only execute in IE,
// Therefore we can use the IE-specific attachEvent without worry
window.attachEvent("onload", function() {
CFInstall.check({
mode: "inline", // the default
node: "prompt"
});
});
</script>
<![endif]-->
<canvas id="test_canvas" width="1000" height="800"></canvas>
<div id="test_div"></div>
</body>
</html>