index.html 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <!DOCTYPE html >
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <meta name="viewport" content="width=320, initial-scale=1, user-scalable=no">
  6. <meta http-equiv="CACHE-CONTROL" content="NO-CACHE">
  7. <title>忍者突袭</title>
  8. <style type="text/css">
  9. body,td,th {
  10. font-family: Helvetica, sans-serif;
  11. font-size: 11px;
  12. line-height: 15px;
  13. color: #c8c0c0;
  14. background-color: #1d1d1d;
  15. text-align: center;
  16. }
  17. iframe {
  18. width: 320px;
  19. height: 50px;
  20. border: 0;
  21. position: absolute;
  22. left: 0;
  23. top: -50px;
  24. z-index: 9;
  25. }
  26. </style>
  27. <script type="text/javascript" src="./js/engine.min.js"></script>
  28. <script type="text/javascript" src="./js/game.min.js"></script>
  29. <script type="text/javascript">
  30. if (navigator.userAgent.match(/MSIE/)) //suport IE9 Mango
  31. {
  32. if (!window.console) {var console = {};}
  33. if (!console.log) {console.log = function() {};}
  34. window.addEventListener("load", init, true);
  35. }
  36. else
  37. {
  38. window.onload = function()
  39. {
  40. init();
  41. }
  42. }
  43. </script>
  44. <!--Google Analytics-->
  45. </head>
  46. <body id="0">
  47. <canvas id="background" width="320" height="568" style="position: absolute; left: 480px; top: 0px; z-index: 0;">
  48. </canvas>
  49. <canvas id="fg_objects" width="320" height="568" style="position: absolute; left: 480px; top: 0px; z-index: 1;">
  50. </canvas>
  51. <canvas id="effects" width="320" height="568" style="position: absolute; left: 480px; top: 0px; z-index: 10;">
  52. </canvas>
  53. </body></html>