index.htm 4.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <!DOCTYPE html>
  2. <!-- saved from url=(0057)http://www.spacemonsters.co.uk/games/mobile/dangerranger/ -->
  3. <html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  4. <title> Danger Ranger </title>
  5. <meta charset="utf-8">
  6. <meta name="viewport" content="width=320, height=440, user-scalable=no, initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
  7. <meta name="apple-mobile-web-app-capable" content="yes">
  8. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  9. <script type="text/javascript" src="http://game.ikongzhong.cn/games/qw/jquery.min.js"></script>
  10. <script type="text/javascript">
  11. var dataForWeixin = {
  12. appId: "gh_ff79a97cd7f3",
  13. TLImg: "http://game.ikongzhong.cn/games/jb/logo.jpg",
  14. url: "http://game.ikongzhong.cn/games/jb/",
  15. title: "Classic game <Stolen treasure>, please share your friends! Circle friends wechat!",
  16. desc: "please share your friends! Circle friends wechat!"
  17. };
  18. var onBridgeReady = function(){
  19. WeixinJSBridge.on('menu:share:appmessage', function(argv){
  20. var infos = $("#infos").text();
  21. WeixinJSBridge.invoke('sendAppMessage', {
  22. "appid": dataForWeixin.appId,
  23. "img_url": dataForWeixin.TLImg,
  24. "img_width": "120",
  25. "img_height": "120",
  26. "link": dataForWeixin.url + '?f=wx_hy_bb',
  27. "title": infos + dataForWeixin.title,
  28. "desc": dataForWeixin.desc
  29. });
  30. setTimeout(function () {location.href = "http://game.ikongzhong.cn/games/jb/";}, 1500);
  31. });
  32. WeixinJSBridge.on('menu:share:timeline', function(argv){
  33. var infos = $("#infos").text();
  34. WeixinJSBridge.invoke('shareTimeline', {
  35. "appid": dataForWeixin.appId,
  36. "img_url":dataForWeixin.TLImg,
  37. "img_width": "120",
  38. "img_height": "120",
  39. "link": dataForWeixin.url + '?f=wx_pyq_bb',
  40. "title": infos + dataForWeixin.title,
  41. "desc": dataForWeixin.desc
  42. });
  43. setTimeout(function () {location.href = "http://game.ikongzhong.cn/games/jb/";}, 1500);
  44. });
  45. };
  46. if(document.addEventListener){
  47. document.addEventListener('WeixinJSBridgeReady', onBridgeReady, false);
  48. }else if(document.attachEvent){
  49. document.attachEvent('WeixinJSBridgeReady', onBridgeReady);
  50. document.attachEvent('onWeixinJSBridgeReady', onBridgeReady);
  51. }
  52. </script>
  53. <link rel="apple-touch-startup-image" href="./library/iphonestartup.png">
  54. <link rel="stylesheet" type="text/css" href="./Danger Ranger_files/iphone.css" media="only screen and (max-width: 480px)">
  55. <link rel="stylesheet" type="text/css" href="./Danger Ranger_files/desktop.css" media="screen and (min-width: 481px)">
  56. <link rel="apple-touch-icon" href="./library/appleicon.png">
  57. <!--<link href='http://fonts.googleapis.com/css?family=Bowlby+One+SC&v2' rel='stylesheet' type='text/css'>
  58. <link href='http://fonts.googleapis.com/css?family=Orbitron' rel='stylesheet' type='text/css'> -->
  59. <!--[if IE]>
  60. <link rel="stylesheet" type="text/css" href="explorer.css" media="all" />
  61. <![endif]-->
  62. <script type="text/javascript" async="" src="./Danger Ranger_files/ga.js"></script><script type="application/x-javascript" src="./Danger Ranger_files/aselect.js"></script>
  63. <script type="application/x-javascript" src="./Danger Ranger_files/library.js"></script>
  64. <script type="application/x-javascript" src="./Danger Ranger_files/textdata.js"></script>
  65. <script type="application/x-javascript" src="./Danger Ranger_files/classlib.js"></script>
  66. <script type="application/x-javascript" src="./Danger Ranger_files/resources.js"></script>
  67. <script type="application/x-javascript" src="./Danger Ranger_files/data.js"></script>
  68. <script type="application/x-javascript" src="./Danger Ranger_files/leveldata.js"></script>
  69. <script type="application/x-javascript" src="./Danger Ranger_files/game.js"></script>
  70. </head>
  71. <body onLoad="init();" onkeydown="scanInput(event);" onkeyup="stopMove(event);">
  72. <div id="container">
  73. <canvas width="320" height="480" class="canvas"></canvas>
  74. <div id="banad" style="display: block; "><iframe src="ad.htm" width="319" height="50" frameborder="0" scrolling="no">i</iframe></div>
  75. <div id="console" style="display: none; text-align: left; "></div>
  76. </div>
  77. <script type="text/javascript" src="http://tajs.qq.com/stats?sId=36313548" charset="UTF-8"></script></body></html>