Mercurial > hg > Members > e085711
diff canvas3d/demo1/index.html @ 0:b67b790dcf4f
upload All File
author | e085711@nobuyasuoshiro.local |
---|---|
date | Mon, 24 May 2010 21:38:02 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/canvas3d/demo1/index.html Mon May 24 21:38:02 2010 +0900 @@ -0,0 +1,52 @@ +<!DOCTYPE html> +<html lang="en-AU"> +<head> +<title>www.benjoffe.com | Canvascape</title> +<meta name="author" content="Benjamin Joffe" /> +<meta name="Content-Script-Type" content="text/javascript" /> +<meta name="Content-Style-Type" content="text/css" /> +<style><!-- @import "/css/main3.css"; --></style> +<script type="text/javascript" src="/js/main.js"></script><style type="text/css"><!-- @import "style2.css"; --></style> +<!--[if IE]><script type="text/javascript" src="/js/libraries/excanvas.js"></script><![endif]--> +<script type="text/javascript" src="code.js"></script> +</head> +<body> +<div id="benjoffe"> + <h1>Ben Joffe</h1> + <ul id="nav"> + <li><a href="/">Home</a> + <li><a href="/code/">Code</a> + <li><a href="/contact">Contact</a> + </ul> + <div id="content"> +<h2>Canvascape - "3D Walker"</h2> + +<div id="app"> + <canvas id="underMap" width="80" height="80"></canvas> + <canvas id="map" width="80" height="80"></canvas> + <a id="code" href="code.js">code.js</a> + + <div id="holder" style="clear:both;"> + <div id="sky"></div> + <div id="floor"></div> + <canvas id="canvas" width="400" height="300"></canvas> + <div id="overlay"></div> + </div> + + <p>Use the arrow keys to walk around the map. Space bar = jump. B = Shoot.</p> + <p>What you are seeing is a test using the Canvas tag to demonstrate its capability. See also: <a href="textures">textured version</a>.</p> + <p>IE support provided using <a href="http://excanvas.sourceforge.net/">ExplorerCanvas</a>.</p> + +</div> + + </div> + <div id="foot"> + <p> + © 2010 Benjamin Joffe<span style="display:none;"> | <a href="/es/code/demos/canvascape/">en espaņol</a></span><!-- not enough pages have been translated yet to show the link to users --></span> + + </p> + </div> +</div> +<script type="text/javascript">var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script><script type="text/javascript">try {var pageTracker = _gat._getTracker("UA-7116912-1");pageTracker._trackPageview();} catch(err) {}</script> +</body> +</html> \ No newline at end of file