1- <!DOCTYPE HTML>
2- < html >
3- < head >
4- < meta charset ="utf-8 ">
5- < title > 疯狂手指 - 根本不能停下来</ title >
6- < meta name ="viewport "
7- content ="width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no "/>
8- < meta name ="apple-mobile-web-app-capable " content ="yes "/>
9-
10- < meta name ="full-screen " content ="true "/>
11- < meta name ="screen-orientation " content ="portrait "/>
12- < meta name ="x5-fullscreen " content ="true "/>
13- < meta name ="360-fullscreen " content ="true "/>
14-
15-
16- < style >
17- body {
18- text-align : center;
19- background : # 000000 ;
20- padding : 0 ;
21- border : 0 ;
22- margin : 0 ;
23- height : 100% ;
24- }
25-
26- * {
27- -webkit-touch-callout : none;
28- -webkit-user-select : none;
29- -khtml-user-select : none;
30- -moz-user-select : none;
31- -ms-user-select : none;
32- user-select : none;
33- -webkit-tap-highlight-color : rgba (0 , 0 , 0 , 0 );
34- }
35-
36- html {
37- -ms-touch-action : none; /* Direct all pointer events to JavaScript code. */
38- }
39- .button {
40- display : inline-block;
41- zoom : 1 ;
42- vertical-align : baseline;
43- margin : 0 2px ;
44- outline : none;
45- cursor : pointer;
46- text-align : center;
47- text-decoration : none;
48- font : 14 px/100% Arial, Helvetica, sans-serif;
49- padding : .5em 2em .55em ;
50- text-shadow : 0 1px 1px rgba (0 , 0 , 0 , .3 );
51- -webkit-border-radius : .5em ;
52- -moz-border-radius : .5em ;
53- border-radius : .5em ;
54- -webkit-box-shadow : 0 1px 2px rgba (0 , 0 , 0 , .2 );
55- -moz-box-shadow : 0 1px 2px rgba (0 , 0 , 0 , .2 );
56- box-shadow : 0 1px 2px rgba (0 , 0 , 0 , .2 );
57- }
58-
59- .red {
60- color : # faddde ;
61- border : solid 1px # 980c10 ;
62- background : # d81b21 ;
63- background : -webkit-gradient (linear, left top, left bottom, from (# ed1c24 ), to (# aa1317 ));
64- background : -moz-linear-gradient (top, # ed1c24, # aa1317 );
65- filter : progid:DXImageTransform.Microsoft.gradient(startColorstr='#ed1c24', endColorstr='#aa1317');
66- }
67-
68- .active {
69- background : # d81b01 ;
70- }
71-
72- </ style >
73- </ head >
74- < body >
75- < div style ="display:inline-block;width:100%; height:100%;margin: 0 auto; background: black; position:relative; " id ="gameDiv ">
76- < div style ="text-align:center;margin:50px; ">
77- < span id ="timer " style ="color:#fff;font-size:20px; "> 10 秒</ span >
78- </ div >
79- < button id ="button " class ="button red " style ="margin-top: 30px;width: 160px;height:160px;border-radius:80px;font-size:18px;font-weight:bold; "> 点我点我</ button >
80- < div style ="margin:20px;text-align:center; ">
81- < div id ="result " style ="color:#fff;font-size:30px; "> 0 次</ div >
82- < div id ="best " style ="margin-top:20px;color:#fff;font-size:20px; "> </ div >
83- </ div >
84- </ div >
85-
86- < div id ="sbg " class ="sbg ">
87- < div class ="arron "> </ div >
88- < p id ="msg "> 请点击右上角< br /> 点击【分享到朋友圈】< br /> 测测好友的反应能力吧!</ p >
89- </ div >
90-
91- < div class ="ads " style ="width: 100%; height: 69px; margin: 0px; margin-top: -60px; padding: 0px; border: none; background: none; "-- >
92- </ div >
93-
94-
95- < script language =javascript >
96- var helptime = 0 ;
97- function help ( ) {
98-
99- }
100-
101- var mebtnopenurl = 'http://www.whatisapple.com/weixin/' ;
102- var myscore = 0 ;
103- window . shareData = {
104- "imgUrl" : "http://www.whatisapple.com/weixin/shouzhi/icon.png" ,
105- "timeLineLink" : "http://www.whatisapple.com/weixin/shouzhi/" ,
106- "tTitle" : "疯狂手指-根本停不下来,玩过之后我的手指已经不是我的了!" ,
107- "tContent" : "在10秒内疯狂的点按钮,想赢?不容易。"
108- } ;
109-
110- function goHome ( ) {
111- window . location = "http://www.whatisapple.com/" ;
112- }
113- function dp_share ( score ) {
114- if ( score > 0 ) {
115- document . title = "10秒我能点" + score + "下!你行?你试试"
116- }
117- else {
118- document . title = "疯狂手指-根本停不下来,玩过之后我的手指已经不是我的了!"
119- }
120- document . getElementById ( "share" ) . style . display = "" ;
121- window . shareData . tTitle = document . title ;
122- }
123- function dp_Ranking ( ) {
124- window . location = "http://m.whatisapple.com/" ;
125- }
126-
127- function showAd ( ) {
128- }
129- function hideAd ( ) {
130- }
131- document . addEventListener ( 'WeixinJSBridgeReady' , function onBridgeReady ( ) {
132-
133- WeixinJSBridge . on ( 'menu:share:appmessage' , function ( argv ) {
134- WeixinJSBridge . invoke ( 'sendAppMessage' , {
135- "img_url" : window . shareData . imgUrl ,
136- "link" : window . shareData . timeLineLink ,
137- "desc" : window . shareData . tContent ,
138- "title" : window . shareData . tTitle
139- } , onShareComplete ) ;
140- } ) ;
141-
142- WeixinJSBridge . on ( 'menu:share:timeline' , function ( argv ) {
143- WeixinJSBridge . invoke ( 'shareTimeline' , {
144- "img_url" : window . shareData . imgUrl ,
145- "img_width" : "640" ,
146- "img_height" : "640" ,
147- "link" : window . shareData . timeLineLink ,
148- "desc" : window . shareData . tContent ,
149- "title" : window . shareData . tTitle
150- } , onShareComplete ) ;
151- } ) ;
152- } , false ) ;
153- </ script >
154- < div id =share style ="display: none ">
155- < img width =100% src ="share.png " style ="position: fixed;z-index:9999; top: 0; left: 0; display: " ontouchstart ="document.getElementById('share').style.display='none'; ">
156- </ div >
157- < div id ="result_panel " style ="display:none;text-align:center;padding-top:50px;position:absolute;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,0.5) ">
158- < div > < button id ="reset " style ="font-size:25px "> 再玩一次</ button > < br > < button id ="doShare " style ="font-size:25px "> 炫耀一下</ button > </ div >
159- </ div >
160- < script src ="jquery.min.js "> </ script >
161- < div style ="display: none; ">
162- < script type ="text/javascript ">
163- function dp_submitScore ( score ) {
164-
165- dp_share ( score ) ;
166-
167- /*
168- if(score<40){
169- if (confirm("")){
170- myCRdata.score = score;
171- myCRdata.scoreName = score+"步";
172- dp_share(score);
173- }
174- }
175- */
176- }
177- function onShareComplete ( res ) {
178- document . location . href = mebtnopenurl ;
179- }
180- </ script >
181-
182- < script type ="text/javascript ">
183- var initial = 1000 ;
184- var count = initial ;
185- var counter ; //10 will run it every 100th of a second
186- var state = 0 ;
187- var total = 0 ;
188-
189- if ( localStorage . max ) {
190- $ ( '#best' ) . html ( '最好成绩:' + localStorage . max + ' 次' ) ;
191- }
192-
193- function timer ( ) {
194- if ( count <= 0 ) {
195- clearInterval ( counter ) ;
196- state = 0 ;
197-
198- $ ( '#result_panel' ) . show ( ) ;
199-
200- if ( ! localStorage . max || parseInt ( localStorage . max ) < total ) {
201- localStorage . max = total ;
202- $ ( '#best' ) . html ( '最好成绩:' + localStorage . max + ' 次' ) ;
203- }
204-
205- localStorage . max = parseInt ( localStorage . max ) > total ? localStorage . max : total ;
206- return ;
207- }
208- count -- ;
209- displayCount ( count ) ;
210- }
211-
212- function displayCount ( count ) {
213- var res = count / 100 ;
214- document . getElementById ( "timer" ) . innerHTML = res . toPrecision ( count . toString ( ) . length ) + " 秒" ;
215- }
216-
217- $ ( document ) . on ( 'touchmove' , function ( e ) {
218- e . preventDefault ( ) ;
219- } )
220-
221- $ ( '#button' ) . on ( 'touchstart' , function ( ) {
222-
223- if ( ! state ) {
224- state = 1 ;
225- counter = setInterval ( timer , 10 ) ;
226- }
227-
228- this . classList . add ( 'active' ) ;
229- } ) ;
230-
231- $ ( '#button' ) . on ( 'touchend' , function ( ) {
232- if ( state ) {
233- total ++ ;
234- $ ( '#result' ) . html ( total + ' 次' ) ;
235- }
236- this . classList . remove ( 'active' ) ;
237- } ) ;
238-
239- // $('#stop').on('click', function () {
240- // clearInterval(counter);
241- // });
242-
243- function reset ( ) {
244- count = initial ;
245- total = 0 ;
246- state = 0 ;
247- $ ( '#result' ) . html ( total + ' 次' ) ;
248- $ ( '#timer' ) . html ( 10 + ' 秒' ) ;
249- }
250-
251- $ ( '#reset' ) . on ( 'touchend' , function ( ) {
252- reset ( ) ;
253- $ ( '#result_panel' ) . hide ( ) ;
254- } ) ;
255-
256- $ ( '#doShare' ) . on ( 'touchend' , function ( ) {
257- dp_share ( total ) ;
258- $ ( '#result_panel' ) . hide ( ) ;
259- reset ( ) ;
260- } ) ;
261-
262-
263- displayCount ( initial ) ;
264- </ script >
265-
266- < scritp >
267- <!-- document.getElementById("ads").style.display='inline-block'; -->
268- </ script >
269-
270- < div style ="display:none ">
271- </ div >
272- </ body >
1+ <!DOCTYPE html>
2+ < html >
3+ < head >
4+ < meta http-equiv ="Content-Type " content ="text/html; charset=UTF-8 ">
5+ < meta charset ="UTF-8 ">
6+ < meta name ="apple-mobile-web-app-capable " content ="yes ">
7+ < meta name ="robots " content ="index,follow ">
8+ < meta name ="viewport " content ="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=no; ">
9+ < title > 鏈�寮虹溂鍔�</ title >
10+ < link href ="9.css " tppabs ="http://wx.9ku.com/ceshi/50/9.css " media ="screen " rel ="stylesheet " type ="text/css ">
11+ < script >
12+ document . addEventListener ( 'WeixinJSBridgeReady' , function onBridgeReady ( ) {
13+ WeixinJSBridge . call ( 'showOptionMenu' ) ;
14+ } ) ;
15+ //new Image().src = 'action.php-id=12'/*tpa=http://wx.9ku.com/game/action.php?id=12*/;
16+ var moreGamesLocation = '' ;
17+ function play68_init ( ) { updateShare ( 0 ) ; }
18+ function updateShare ( bestScore ) {
19+ imgUrl = 'http://t2.qpic.cn/mblogpic/6c1d5db929f123ac16c0/2000' ;
20+ //var domains = ['http://wx.9ku.com/ceshi/50/www.lieqicun.com','http://wx.9ku.com/ceshi/50/www.lieqicun.cn','http://wx.9ku.com/ceshi/50/www.lieqicun.net','http://wx.9ku.com/ceshi/50/115.29.44.52'];
21+ //var domain = domains[new Date().getTime()%4];
22+ lineLink = 'index.htm' /*tpa=http://wx.9ku.com/ceshi/50/*/ ;
23+ descContent = "鑰冭�冧綘鐨勭溂鍔涳紒浣犵殑鐪肩潧璺熷緱涓婂悧锛�" ;
24+ updateShareScore ( bestScore ) ; appid = '' ;
25+ }
26+ function updateShareScore ( bestScore ) {
27+ if ( bestScore > 0 ) { shareTitle = "鎴戠帺銆婃渶寮虹溂鍔涖�嬭繃浜�" + bestScore + "鍏筹紝鐪奸兘鑺变簡锛�" ; }
28+ else { shareTitle = "涓嶇帺銆婃渶寮虹溂鍔涖�嬫�庝箞鐭ラ亾鑷繁鐨勭溂鍔涘師鏉ラ偅涔堝ソ锛�" ; }
29+ }
30+ </ script >
31+ </ head >
32+ < body class ="os-windows osv-6_1 osmv-6 " onorientationchange ="orentationChanged() ">
33+ < div id ="adTop "> < script src ="adTop.js " tppabs ="http://wx.9ku.com/ceshi/script/adTop.js "> </ script > </ div >
34+ < DIV class ="main ">
35+ < div id ="frame ">
36+ < div id ="logo " style ="display: none; opacity: 0; "> </ div >
37+ < div id ="playButton " style ="display: none; opacity: 1; "> </ div >
38+ < div id ="level " style ="display: none; ">
39+ < span id ="levelLabel "> 鍏冲崱锛�</ span >
40+ < span id ="levelNum "> 1</ span >
41+ </ div >
42+ < div id ="lives " style ="display: none; ">
43+ < div id ="hearts "> < div class ="heart "> </ div > < div class ="heart "> </ div > < div class ="heart "> </ div > </ div >
44+ < div id ="livesLabel "> 鍛斤細</ div >
45+ </ div >
46+ < div id ="b " style ="display: block; ">
47+ < div style ="display: block; " id ="b1 "> </ div >
48+ < div style ="display: block; " id ="b2 "> </ div >
49+ < div style ="display: block; " id ="b3 "> </ div >
50+ </ div >
51+ < canvas height ="240 " width ="320 " id ="canvas " style ="display: block; "> </ canvas > < div id ="msg " style ="position:relative;display: block; opacity: 1;bottom:50px; "> </ div >
52+ </ div >
53+ < div style ="position:relative; display: block; margin: 0px auto;bottom:120px;z-index:20000 ">
54+ < a style ="font-size: 15px;color: #f00;font-weight: bold;display: block;height: 30px;line-height: 30px; " href ="javascript:if(confirm('http://wx.9ku.com/ceshi/51/ \n\n该文件无法用 Teleport Ultra 下载, 因为 它是一个域或路径外部被设置为它的启始地址的地址。 \n\n你想在服务器上打开它?'))window.location='http://wx.9ku.com/ceshi/51/' " tppabs ="http://wx.9ku.com/ceshi/51/ "> 鍙樻�佽�冨弽搴旀父鎴忋�婂瘑瀹ら�冭劚銆嬭兘閫氬叧浣犲氨鑳介棯瀛愬脊浜嗭紒</ a >
55+ </ div >
56+ < script type ="text/javascript " src ="9.js " tppabs ="http://wx.9ku.com/ceshi/50/9.js "> </ script >
57+
58+ </ DIV >
59+
60+ < script src ="count.js " tppabs ="http://wx.9ku.com/count.js "> </ script >
61+ </ body >
27362</ html >
0 commit comments