123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="user-scalable=no width=device-width">
- <title>我去天安门广场跑个圈</title>
- <link rel="stylesheet" href="circle/css/style.css">
- <STYLE TYPE="text/css" MEDIA=screen>
- #desktop-ad {
- display: block;
- margin-left: -160px;
- width: 320px;
- position: absolute;
- top: 0px;
- left: 50%;
- z-index: 1000;
- text-align: center;
- }
- html{
- width: 100%;
- height: 100%;
- }
- body{
- width: 100%;
- height: 100%;
- }
- </STYLE>
- <script src="jquery/2.0.0/jquery.min.js"></script>
- <script type="text/javascript" language="JavaScript">
- function HideContent(d) {
- $('#' + d).hide();
- }
- function ShowContent(d) {
- $('#' + d).show(1000);
- }
- </script>
- <script type="text/javascript" src="circle/js/cookies.js"></script>
- <script src="ajax/libs/paper.js/0.9.18/paper-full.min.js"></script>
- </head>
- <body backgroud>
- <canvas id="canvas" resize stats hidpi="on"></canvas>
- <div id="inputpage" >
- <div id="middle">
- <div id="name_form">
- <p>载入中,请稍等。。。</p>
- </div>
- </div>
- </div>
- <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';"
- onclick="document.getElementById('share').style.display='none"
- />
- </div>
- <script type="text/paperscript" canvas="canvas" src="circle/js/circle_origin.js"></script>
-
- <script>
- var loading = true;
- var mebtnopenurl = 'http://play.3gjj.cn/index.html';
- var thegameurl ="http://play.3gjj.cn/games/bsqpz2/";
- var guanzhuurl ="http://mp.weixin.qq.com/s?__biz=MzAwNzQ4NzQyOQ==&mid=207029465&idx=1&sn=7b3e89d22b38e1e1337bf3a98ccdfb46#rd";
- var is9gUser=false;
- window.shareData = {
- "timeLineLink":thegameurl,
- "tTitle": "我去天安门广场跑个圈",
- "tContent": "我去天安门广场跑个圈"
- };
-
- function goHome(){
- window.location=mebtnopenurl;
- }
- function clickMore(){
- if((window.location+"").indexOf("zf",1)>0){
- window.location = mebtnopenurl;
- }
- else{
- goHome();
- }
- }
- function dp_share(){
- document.getElementById("share").style.display="";
- }
- 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);
- var share=document.getElementById("share");
- share.onclick=function(){
- share.style.display='none'
- ShowContent('desktop-ad');
- $(can).show()
- // $("body").css("background-image",'none');
- }
- </script>
- </body>
- </html>
|