summaryrefslogtreecommitdiffstats
path: root/pacman-google/index.html
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2011-04-03 14:18:18 +0200
committermanuel <manuel@mausz.at>2011-04-03 14:18:18 +0200
commit1fdff302cf1d22beff62b4a705dc44352ccc7a43 (patch)
tree78b8027ec9eb483cd7547a0fb984693fe3211fb7 /pacman-google/index.html
parent2ce3395d2e42a2e9e51807f452f2e030a48c6a52 (diff)
downloadfoop-1fdff302cf1d22beff62b4a705dc44352ccc7a43.tar.gz
foop-1fdff302cf1d22beff62b4a705dc44352ccc7a43.tar.bz2
foop-1fdff302cf1d22beff62b4a705dc44352ccc7a43.zip
adding google pacman
Diffstat (limited to 'pacman-google/index.html')
-rw-r--r--pacman-google/index.html115
1 files changed, 115 insertions, 0 deletions
diff --git a/pacman-google/index.html b/pacman-google/index.html
new file mode 100644
index 0000000..bf507d3
--- /dev/null
+++ b/pacman-google/index.html
@@ -0,0 +1,115 @@
1<!doctype html>
2<html>
3<head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5 <title>Google Pacman</title>
6 <script>
7 window.google = {}
8 </script>
9 <style>
10 body{background:#222;font-family:monospace;margin-top:50px}
11 td{line-height:.8em;}
12 form{margin-bottom:20px;}
13 input{font-family:inherit;-moz-box-sizing:content-box}
14 a{color:#11c;text-decoration:none}
15 a:hover,a:active{text-decoration:underline}
16 a:visited{color:#551a8b}
17 #logo{width:554px;height:186px;background:black url(src/pacman10-hp.gif) 0 0 no-repeat;position:relative;margin-bottom:9px}
18 #logo-l{width:200px;height:2px;left:177px;top:157px;background:#990;position:absolute;display:none;overflow:hidden}
19 #logo-b{position:absolute;left:0;background:#ff0;height:8px;width:0}
20 #wrapper{width:554px;height:186px;padding:10px;background:#000;-webkit-border-radius:8px;}
21 .lsb:active{background:-webkit-gradient(linear,left top,left bottom,from(#ccc),to(#ddd))}
22 .ds{display:-moz-inline-box}
23 .ds{border-bottom:solid 1px #e7e7e7;border-right:solid 1px #e7e7e7;display:inline-block;margin:3px 0 4px;margin-left:4px;margin-right:3px:height:32px}
24 .lsbb{background:#eee;border:solid 1px;border-color:#ccc #999 #999 #ccc;height:30px;display:block}
25 .lsb{background:url(/images/srpr/nav_logo13.png) bottom;font:15px arial,sans-serif;border:none;cursor:pointer;height:30px;margin:0;outline:0;vertical-align:top}
26 .lsb:active{background:#ccc}
27 #footer ul{list-style-type:none;padding:0}
28 #footer a{display:inline-block;color:#444;font-size:10pt;font-family:monospace;padding:5px}
29 #footer a:hover{color:#666;text-decoration:none;background:#333}
30
31 </style>
32</head>
33<body>
34 <center>
35 <div id="wrapper">
36 <a href="#gameover" id="dlink"></a>
37 <div id='logo' title="PAC-MAN's 30th Birthday! Doodle with PAC-MAN™ & ©1980 NAMCO BANDAI Games Inc.">
38 <div id="logo-l">
39 <div id="logo-b">
40 </div>
41 </div>
42 </div>
43 </div>
44 <script>
45 google.dom = {};
46 google.pacManSound = true;
47 google.browser = {};
48 google.browser.engine = {}
49
50 google.dom.remove = function (a) {
51 return a && a.parentNode && a.parentNode.removeChild(a)
52 };
53
54 google.dom.append = function (a) {
55 return document.body.appendChild(a)
56 };
57
58 google.browser.engine.IE = false
59 google.pml = function () {
60 function d(a) {
61 if (!google.pml_installed) {
62 google.pml_installed = true;
63 if (!a) {
64 document.getElementById("logo").style.background = "black";
65 window.setTimeout(function () {
66 var b = document.getElementById("logo-l");
67 if (b) b.style.display = "block"
68 }, 400)
69 }
70 a = document.createElement("script");
71 a.type = "text/javascript";
72 a.src = "src/js/pacman10-hp.3.js";
73 document.body.appendChild(a)
74 }
75 }
76 function e() {
77 if (document.f && document.f.btnI) document.f.btnI.onclick = function () {
78 typeof google.pacman != "undefined" ? google.pacman.insertCoin() : d(false);
79 return false
80 }
81 }
82 if (!google.pml_loaded) {
83 google.pml_loaded = true;
84 window.setTimeout(function () {
85 document.f && d(true)
86 }, 1E4);
87 e();
88 }
89 };
90 </script>
91
92 <form action="#submit" name='f'>
93 <table width="23%" cellpadding='0' cellspacing='0'>
94 <tr valign='top'>
95 <td align='center' nowrap><br style="line-height:0">
96 <span class='ds'>
97 <span class='lsbb'>
98 <input name='btnI' type='submit' value="Insert Coin" class='lsb'>
99 </span>
100 </span>
101 </td>
102 </tr>
103 </table>
104 </form>
105
106 <div id="footer">
107 <ul>
108 <li><a href="http://github.com/macek/google_pacman">GitHub macek/google_pacman</a></li>
109 <li><a href="http://google.com">&copy; 2010, Google</a></li>
110 <li><a href="http://pacman.com">&copy; 1980, NAMCO BANDAI Games Inc.</a></li>
111 </ul>
112 </div>
113 <script>google.pml && google.pml()</script>
114 </center>
115</html>