index.html 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <title>宠物大营救</title>
  5. <meta charset="utf-8">
  6. <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
  7. <meta name="format-detection" content="telephone=no">
  8. <meta name="apple-mobile-web-app-capable" content="yes">
  9. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  10. <style>
  11. html, body {
  12. background: #333333;
  13. width: 100%;
  14. height: 100%;
  15. margin: 0;
  16. padding: 0;
  17. }
  18. #content {
  19. width: 100%;
  20. height: 100%;
  21. margin: 0px auto 1px auto;
  22. }
  23. @media (max-device-width: 8in), (max-device-height: 8in) {
  24. html {
  25. overflow: hidden;
  26. }
  27. html, body {
  28. height: 100%;
  29. }
  30. #content {
  31. height: 100%;
  32. width: 100%;
  33. margin: inherit;
  34. }
  35. .no-mobile {
  36. display: none;
  37. }
  38. }
  39. </style>
  40. </head>
  41. <body onload="startGame()">
  42. <div id="content"></div>
  43. <script src="flambe.js"></script>
  44. <script type="text/javascript">
  45. function startGame()
  46. {
  47. flambe.embed(["targets/main-html.js"], "content");
  48. }
  49. </script>
  50. <script language=javascript>
  51. function clickMore(){
  52. // Play68.goHome();
  53. }
  54. function dp_share(){
  55. // play68_submitScore(window.__score, window.__lv);
  56. }
  57. </script>
  58. <script type="text/javascript">
  59. function dp_submitScore(score,nlevel){
  60. // Play68.setRankingLevelScoreDesc(nlevel,score);
  61. window.__score=score;
  62. window.__lv=nlevel;
  63. // play68_submitScore(score, nlevel);
  64. }
  65. </script>
  66. </body>
  67. </html>