index.html 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <!DOCTYPE html>
  2. <html >
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  6. <title>卡通飞行</title>
  7. <script type="text/javascript">
  8. (function (){
  9. // updateShare(0);
  10. })()
  11. </script>
  12. <!-- Allow fullscreen mode on iOS devices. (These are Apple specific meta tags.) -->
  13. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, minimal-ui" />
  14. <meta name="apple-mobile-web-app-capable" content="yes" />
  15. <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  16. <link rel="apple-touch-icon" sizes="256x256" href="icon-256.png" />
  17. <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
  18. <script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
  19. <meta name="HandheldFriendly" content="true" />
  20. <!-- Chrome for Android web app tags -->
  21. <meta name="mobile-web-app-capable" content="yes" />
  22. <link rel="shortcut icon" sizes="256x256" href="icon-256.png" />
  23. <!-- All margins and padding must be zero for the canvas to fill the screen. -->
  24. <style type="text/css">
  25. #adblock_497727{
  26. display:none;
  27. }
  28. * {
  29. padding: 0;
  30. margin: 0;
  31. }
  32. html, body {
  33. background: #000;
  34. color: #fff;
  35. overflow: hidden;
  36. touch-action: none;
  37. -ms-touch-action: none;
  38. }
  39. canvas {
  40. touch-action-delay: none;
  41. touch-action: none;
  42. -ms-touch-action: none;
  43. }
  44. </style>
  45. </head>
  46. <body>
  47. <div id="fb-root"></div>
  48. <div id="c2canvasdiv">
  49. <canvas id="c2canvas" width="428" height="640">
  50. </canvas>
  51. </div>
  52. <script src="js/jquery-2.0.0.min.js"></script>
  53. <script src="js/c2runtime.js"></script>
  54. <script>
  55. // Size the canvas to fill the browser viewport.
  56. jQuery(window).resize(function() {
  57. cr_sizeCanvas(jQuery(window).width(), jQuery(window).height());
  58. });
  59. // Start the Construct 2 project running on window load.
  60. jQuery(document).ready(function ()
  61. {
  62. // Create new runtime using the c2canvas
  63. cr_createRuntime("c2canvas");
  64. });
  65. // Pause and resume on page becoming visible/invisible
  66. function onVisibilityChanged() {
  67. if (document.hidden || document.mozHidden || document.webkitHidden || document.msHidden)
  68. cr_setSuspended(true);
  69. else
  70. cr_setSuspended(false);
  71. };
  72. document.addEventListener("visibilitychange", onVisibilityChanged, false);
  73. document.addEventListener("mozvisibilitychange", onVisibilityChanged, false);
  74. document.addEventListener("webkitvisibilitychange", onVisibilityChanged, false);
  75. document.addEventListener("msvisibilitychange", onVisibilityChanged, false);
  76. </script>
  77. <script language=javascript>
  78. function clickMore(){
  79. // Play68.goHome();
  80. }
  81. function dp_share(){
  82. // play68_submitScore(window.myPlay68Score);
  83. }
  84. function dp_Ranking(){
  85. }
  86. function dp_submitScore(score){
  87. window.myPlay68Score = score;
  88. // updateShare(window.myPlay68Score);
  89. // Play68.setRankingScoreDesc(window.myPlay68Score);
  90. console.log("游戏结束!");
  91. }
  92. </script>
  93. <script type="text/JavaScript">
  94. window.shareData={
  95. 'title':'卡通飞行',
  96. 'link':'http://game.ikongzhong.cn/games/ktfx/',
  97. 'imgurl':'http://game.ikongzhong.cn/games/ktfx/icon.png'
  98. }
  99. window.shareFriendData={
  100. 'title':'卡通飞行',
  101. 'content':'关注空中传媒网络,更多好玩的游戏等着你。',
  102. 'link':'http://game.ikongzhong.cn/games/ktfx/',
  103. 'imgurl':'http://game.ikongzhong.cn/games/ktfx/icon.png'
  104. }
  105. </script>
  106. <script type="text/JavaScript" src="http://gc.veiying.cn/code"></script>
  107. </body>
  108. </html>