Google Pacman


SUBMITTED BY: Guest

DATE: Jan. 18, 2014, 9:27 a.m.

FORMAT: HTML

SIZE: 4.7 kB

HITS: 1661

  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. </style>
  31. </head>
  32. <body>
  33. <center>
  34. <div id="wrapper">
  35. <a href="#gameover" id="dlink"></a>
  36. <div id='logo' title="PAC-MAN's 30th Birthday! Doodle with PAC-MAN™ & ©1980 NAMCO BANDAI Games Inc.">
  37. <div id="logo-l">
  38. <div id="logo-b">
  39. </div>
  40. </div>
  41. </div>
  42. </div>
  43. <script>
  44. google.dom = {};
  45. google.pacManSound = true;
  46. google.browser = {};
  47. google.browser.engine = {}
  48. google.dom.remove = function (a) {
  49. return a && a.parentNode && a.parentNode.removeChild(a)
  50. };
  51. google.dom.append = function (a) {
  52. return document.body.appendChild(a)
  53. };
  54. google.browser.engine.IE = false
  55. google.pml = function () {
  56. function d(a) {
  57. if (!google.pml_installed) {
  58. google.pml_installed = true;
  59. if (!a) {
  60. document.getElementById("logo").style.background = "black";
  61. window.setTimeout(function () {
  62. var b = document.getElementById("logo-l");
  63. if (b) b.style.display = "block"
  64. }, 400)
  65. }
  66. a = document.createElement("script");
  67. a.type = "text/javascript";
  68. a.src = "src/js/pacman10-hp.3.js";
  69. document.body.appendChild(a)
  70. }
  71. }
  72. function e() {
  73. if (document.f && document.f.btnI) document.f.btnI.onclick = function () {
  74. typeof google.pacman != "undefined" ? google.pacman.insertCoin() : d(false);
  75. return false
  76. }
  77. }
  78. if (!google.pml_loaded) {
  79. google.pml_loaded = true;
  80. window.setTimeout(function () {
  81. document.f && d(true)
  82. }, 1E4);
  83. e();
  84. }
  85. };
  86. </script>
  87. <form action="#submit" name='f'>
  88. <table width="23%" cellpadding='0' cellspacing='0'>
  89. <tr valign='top'>
  90. <td align='center' nowrap><br style="line-height:0">
  91. <span class='ds'>
  92. <span class='lsbb'>
  93. <input name='btnI' type='submit' value="Insert Coin" class='lsb'>
  94. </span>
  95. </span>
  96. </td>
  97. </tr>
  98. </table>
  99. </form>
  100. <div id="footer">
  101. <ul>
  102. <li><a href="http://github.com/macek/google_pacman">GitHub macek/google_pacman</a></li>
  103. <li><a href="http://google.com">&copy; 2010, Google</a></li>
  104. <li><a href="http://pacman.com">&copy; 1980, NAMCO BANDAI Games Inc.</a></li>
  105. </ul>
  106. </div>
  107. <script>google.pml && google.pml()</script>
  108. </center>
  109. </html>

comments powered by Disqus