Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 38 lines (35 sloc) 1.16 KB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<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>
<!--[if IE]>
<script type="text/javascript"
.chromeFrameInstallDefaultStyle {
width: 100%; /* default is 800px */
border: 5px solid blue;
<div id="prompt">
// 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() {
mode: "inline", // the default
node: "prompt"
<canvas id="test_canvas" width="1000" height="800"></canvas>
<div id="test_div"></div>