index.htm 4.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <!DOCTYPE html>
  2. <!-- saved from url=(0052)http://www.spacemonsters.co.uk/games/mobile/dragons/ -->
  3. <html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  4. <title>Dragon dry adulterer</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/hl/logo.jpg",
  14. url: "http://game.ikongzhong.cn/games/hl/",
  15. title: "Classic game <Fiery dragon>, 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/hl/";}, 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/hl/";}, 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="./Dragons_files/iphone.css" media="only screen and (max-width: 480px)">
  55. <link rel="stylesheet" type="text/css" href="./Dragons_files/desktop.css" media="screen and (min-width: 481px)">
  56. <link rel="apple-touch-icon" href="./library/appleicon.png">
  57. <link href="./Dragons_files/css" rel="stylesheet" type="text/css"> <!--[if IE]>
  58. <link rel="stylesheet" type="text/css" href="explorer.css" media="all" />
  59. <![endif]-->
  60. <script type="application/x-javascript" src="./Dragons_files/ga.js"></script>
  61. <script type="application/x-javascript" src="./Dragons_files/aselect.js"></script>
  62. <script type="application/x-javascript" src="./Dragons_files/library.js"></script>
  63. <script type="application/x-javascript" src="./Dragons_files/textdata.js"></script>
  64. <script type="application/x-javascript" src="./Dragons_files/classlib.js"></script>
  65. <script type="application/x-javascript" src="./Dragons_files/resources.js"></script>
  66. <script type="application/x-javascript" src="./Dragons_files/data.js"></script>
  67. <script type="application/x-javascript" src="./Dragons_files/game.js"></script>
  68. </head>
  69. <body onLoad="init();" onkeydown="scanInput(event);" onkeyup="stopMove(event);">
  70. <div id="container">
  71. <canvas width="320" height="480" class="canvas" style="background-color: rgb(0, 0, 0); background-image: url(./library/gameback3.gif); "></canvas>
  72. <div id="banad" style="display: none; "><iframe src="./Dragons_files/adsense.htm" width="319" height="50" frameborder="0" scrolling="no">i</iframe></div>
  73. <div id="console" style="display: none; text-align: left; "></div>
  74. </div>
  75. <script type="text/javascript">
  76. var _gaq = _gaq || [];
  77. _gaq.push(['_setAccount', 'UA-28241583-1']);
  78. _gaq.push(['_trackPageview']);
  79. (function() {
  80. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  81. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  82. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  83. })();
  84. </script></body></html>