123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223 |
- <!doctype html>
- <html>
- <head>
- <meta charset="utf-8" />
- <meta name="viewport" content="user-scalable=no, width=device-width, height=device-height, initial-scale=1.0, minimum-scale=1, maximum-scale=1" />
- <title>青蛙跳</title>
- <meta name='robots' content='noindex,follow' />
- <meta name="apple-mobile-web-app-capable" content="yes" />
- <meta name="apple-mobile-web-app-status-bar-style" content="black" />
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
- <style type="text/css">
- #cvd{
- width: 77px;
- height: 77px;
- -webkit-box-shadow: 5px 5px 8px #818181;
- -webkit-border-radius: 10px;
- }
- body {
- -webkit-user-select:none;
- -webkit-text-size-adjust:none;
- -moz-user-select:none;
- -moz-text-size-adjust:none;
- -ms-user-select:none;
- -ms-text-size-adjust:none;
- -o-user-select:none;
- -o-text-size-adjust:none;
- user-select:none;
- text-size-adjust:none;
- min-height:100%
- }
- #g1{margin-top:280px;margin-left:40px;position:absolute}
- #weixin-share{background-image:url(share.png);height:100px;width:160px;position:absolute;top:0px;left:240px;z-index:699}
- #weixin-text{
- font-family:"Microsoft Yahei",Arial,Helvetica,sans-serif;
- height: 600px;
- width: 420px;
- margin-top: 0px;
- margin-right: auto;
- margin-left: auto;
- background-color: #E8D9AE;
- padding-top: 23px;
- padding-left: 40px;
- z-index: 600
- }#weixin-text #j{
- height: 464px;
- width: 316px;
- background-image: url(j.png);
- background-repeat: no-repeat;
- padding: 0px;
- clear: both;
- position: absolute;
- z-index: 601;
- margin-top: 0px;
- margin-right: 0px;
- margin-bottom: 0px;
- margin-left: 30px;
- }#weixin-text #j #txt{font-size:36px;font-weight:bold;color:#790000;margin-top:110px;margin-left:0px;text-align:center;}#weixin-text #j #rank{text-align:center;margin-top:0px;position:absolute;width:100%;padding-top:5px;color:#4E4524}
- </style>
- </head>
- <body style="-webkit-user-select: none;bgcolor=" #ffffff'="" text="#000000" vlink="#7f7f7f" alink="#7f7f7f" link="#7f7f7f">
-
- <script>
- var ds_info="Jump from one branch to another and don't fall into the river. Touch the screen to set the jump power and release it to jump.";
- function info(){alert(ds_info);}
- function ds_HS(){}
- function myshow(){}
- function mydisable(){}
- var par_level;
- var par_score;
- var par_game;var par_ad2=1;
- var par_ad3=1;
- var par_ad4=1;
- var par_adx2;
- var par_adx3;
- var par_adx4;
- if(0)por="<br><br><br><img border=0 src=\"portrait.jpg\">";
- else por="";
-
- var ds_urlhiscore="http://game.ikongzhong.cn";
- function ds_RZ(){
- }
- function ds_SHS(){return "";}
-
- var dsp=new Array("=0",
- "main.png",
- "http://game.ikongzhong.cn",
- 1,
- 0,
- 0,
- 1,
- "",
- "http://game.ikongzhong.cn",
- 1,
- 0,
- 0,
- 1,
- 0,
- "http://game.ikongzhong.cn",
- "http://game.ikongzhong.cn",
- "_self",
- "udf23hh3r62srayd4",
- 0,
- 250,
- 16,
- 1,
- "Loading ...",
- "ffffff",
- "000000",
- "00bfdf",
- 0,
- 1,
- 0,
- "",
- 1,
- 1);
- </script> <script src="game.js"></script>
- <script src="share.js"></script>
- <input id="appid" name="appid" type="hidden" value="8596144" />
- <script language=javascript>
- var mebtnopenurl = 'http://game.ikongzhong.cn';
- window.shareData = {
- "imgUrl": "http://game.ikongzhong.cn/icon/qwt.png",
- "timeLineLink": "http://game.ikongzhong.cn/games/qwt/",
- "tTitle": "青蛙跳",
- "tContent": "青蛙跳"
- };
-
- function goHome(){
- window.location=mebtnopenurl;
- }
- function clickMore(){
- if((window.location+"").indexOf("zf",1)>0){
- window.location = "http://game.ikongzhong.cn";
- }
- else{
- goHome();
- }
- }
- function dp_share(){
- document.title ="青蛙跳,我跳了"+myData.score+"米,不服来战,看你是不是更厉害?";
- document.getElementById("share").style.display="";
- window.shareData.tTitle = document.title;
- }
- function dp_Ranking(){
- window.location=mebtnopenurl;
- }
- function showAd(){
- }
- function hideAd(){
- }
- document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
-
- WeixinJSBridge.on('menu:share:appmessage', function(argv) {
- WeixinJSBridge.invoke('sendAppMessage', {
- "img_url": window.shareData.imgUrl,
- "link": window.shareData.timeLineLink,
- "desc": window.shareData.tContent,
- "title": window.shareData.tTitle
- }, onShareComplete);
- });
- WeixinJSBridge.on('menu:share:timeline', function(argv) {
- WeixinJSBridge.invoke('shareTimeline', {
- "img_url": window.shareData.imgUrl,
- "img_width": "640",
- "img_height": "640",
- "link": window.shareData.timeLineLink,
- "desc": window.shareData.tContent,
- "title": window.shareData.tTitle
- }, onShareComplete);
- });
- }, false);
- </script>
- <div id=share style="display: none">
- <img width=100% src="share.png"
- style="position: fixed; z-index: 9999; top: 0; left: 0; display: "
- ontouchstart="document.getElementById('share').style.display='none';" />
- </div>
- <div style="display: none;">
- <script type="text/javascript">
- var myData = { gameid: "qwt" };
- //window.shareData.timeLineLink = "http://game.ikongzhong.cn/gamecenter.html?gameid=" + myData.gameid + (localStorage.myuid ? "&uid=" + localStorage.myuid : "");
- function dp_submitScore(score){
- myData.score = score;
- myData.scoreName = score+"米";
- if(score>0){
- if (confirm("真牛叉,你竟然跳了"+score+"米,快通知一下小伙伴吧!")){
- dp_share();
- }
- }
- }
- function onShareComplete(res) {
- if (localStorage.myuid && myData.score != undefined) {
- setTimeout(function(){
- if (confirm("要将成绩提交到游戏排行榜吗?")) {
- window.location = "http://game.ikongzhong.cn/games/qwt/index.html" + myData.gameid + "&uid=" + localStorage.myuid + "&score=" + myData.score + "&scorename=" + encodeURIComponent(myData.scoreName);
- }
- else {
- document.location.href = mebtnopenurl;
- }
- }, 500);
- }
- else {
- document.location.href = mebtnopenurl;
- }
- }
- </script>
- <div style="display: none;">
-
- </div>
- </body>
- </html>
|