mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-03 19:54:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			59 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			59 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
<!--
 | 
						|
	WTFPL License
 | 
						|
	Origin: https://github.com/daleharvey/pacman
 | 
						|
--><!DOCTYPE html>
 | 
						|
<html>
 | 
						|
<head>
 | 
						|
	<meta charset="utf-8" />
 | 
						|
	<title>HTML5 Pacman</title>
 | 
						|
	
 | 
						|
	<style type="text/css">
 | 
						|
		@font-face {
 | 
						|
			font-family: 'BDCartoonShoutRegular';
 | 
						|
			src: url('BD_Cartoon_Shout-webfont.ttf') format('truetype');
 | 
						|
			font-weight: normal;
 | 
						|
			font-style: normal;
 | 
						|
		}
 | 
						|
		#pacman {
 | 
						|
			height:450px;
 | 
						|
			width:342px;
 | 
						|
			margin:0px auto;
 | 
						|
		}
 | 
						|
		#shim { 
 | 
						|
			font-family: BDCartoonShoutRegular; 
 | 
						|
			position:absolute;
 | 
						|
			visibility:hidden
 | 
						|
		}
 | 
						|
		body {
 | 
						|
			width:342px;
 | 
						|
			margin:0px;
 | 
						|
			font-family:sans-serif;
 | 
						|
			overflow: hidden;
 | 
						|
		}
 | 
						|
	</style>
 | 
						|
	
 | 
						|
</head>
 | 
						|
 | 
						|
<body>
 | 
						|
	
 | 
						|
	
 | 
						|
	<div id="pacman"></div>
 | 
						|
	<script src="pacman.js"></script>
 | 
						|
	<script src="modernizr-1.5.min.js"></script>
 | 
						|
	
 | 
						|
	<script>
 | 
						|
		
 | 
						|
		var el = document.getElementById("pacman");
 | 
						|
		
 | 
						|
		if (Modernizr.canvas && Modernizr.localstorage && 
 | 
						|
		Modernizr.audio && (Modernizr.audio.ogg || Modernizr.audio.mp3)) {
 | 
						|
			window.setTimeout(function () { PACMAN.init(el, "./"); }, 0);
 | 
						|
		} else { 
 | 
						|
			el.innerHTML = "Sorry, needs a decent browser<br /><small>" + 
 | 
						|
				"(firefox 3.6+, Chrome 4+, Opera 10+ and Safari 4+)</small>";
 | 
						|
			}
 | 
						|
	</script>
 | 
						|
		
 | 
						|
</body>
 | 
						|
</html>
 | 
						|
	 |