锘?!DOCTYPE html> 鎵嬫満鎵嬪啓鏌ュ瓧_鎵嬫満鏃ヨ杈撳叆娉昣鎵嬫満闊╄杈撳叆娉昣鏄撶瑪瀛?/title> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <meta content="telephone=no" name="format-detection"> <meta http-equiv="Cache-Control" content="no-transform" /> <meta http-equiv="Cache-Control" content="no-siteapp" /> </head> <body> <div align="center"> <table width="300px" border="0"> <tr align="center"> <td width="8%"><img src="http://www.zoiero.live/ybz_core/images/logo88_31.jpg" width="80" height="30"></td> <td width="92%"><script type="text/javascript" src="http://1.yibizi.com/idmvlcvzzgkcef.js"></script> </td> </tr> <tr> <td colspan="2" align="center"><select name="YBZ_select_lang" id="YBZ_select_lang" class="d-select" onChange="javascript:YBZ_setlang(this.value);"> <option value="zh-cn">涓枃</option><option value="ja-jp">鏃ヨ</option><option value="ko-kr">闊╄</option></select><input id="keyword" type="text" name="textfield" style="margin-top:0px;width:100px;"><input type="button" name="Submit" value="緲昏瘧" onClick="javascript:YBZ_app_search('dict');" /><input type="button" value="閲嶅啓" onClick="javascript:rewrite();" /><input type="button" value="鎾ら攢" onClick="javascript:revoke();" /></td> </tr> <tr> <td height="48px" colspan="2" valign="top" align="center"><span id="info">涓嬫媺妗嗛夋嫨璇█錛屽湪涓嬮潰鏂瑰潡鍐呭啓瀛?/span></td> </tr> </table> <canvas id="canvas" width="300px" height="200px" style="border: 3px green solid"></canvas> <script type="text/javascript" src="../hzyx/jquery-1.7.min.js"></script> <script type="text/javascript"> var request; if (typeof(Worker) !== "undefined") { // } else { document.getElementById("info").innerHTML = "鎮ㄧ殑嫻忚鍣ㄤ笉鏀寔html5,璇風敤<a href='http://www.zoiero.live/'>FLASH鐗?/a>錛?; } function getX(obj){ var parObj=obj; var left=obj.offsetLeft; while(parObj=parObj.offsetParent){ left+=parObj.offsetLeft; } return left; } function getY(obj){ var parObj=obj; var top=obj.offsetTop; while(parObj = parObj.offsetParent){ top+=parObj.offsetTop; } return top; } function DisplayCoord(event){ var top,left,oDiv; oDiv=document.getElementById("demo"); top=getY(oDiv); left=getX(oDiv); document.getElementById("mp_x").innerHTML = (event.clientX-left+document.body.scrollLeft) -2+"px"; document.getElementById("mp_y").innerHTML = (event.clientY-top+document.body.scrollTop) -2+"px"; } //get canvas var canvas = document.getElementById("canvas"); //鏄惁鏀寔瑙︽懜 var touchable = 'createTouch' in document; if (touchable) { canvas.addEventListener('touchstart', onTouchStart, false); canvas.addEventListener('touchmove', onTouchMove, false); canvas.addEventListener('touchend', onTouchEnd, false); } else { canvas.addEventListener('mousedown', onMouseDown, false); canvas.addEventListener('mousemove', onMouseMove, false); canvas.addEventListener('mouseup', onMouseUp, false); } //涓婁竴嬈¤Е鎽稿潗鏍? var lastX; var lastY; var ctx =canvas.getContext("2d"); var lg="zh-cn"; var bihua=""; var info = document.getElementById("info"); //澧炲姞鎾ら攢鍔熻兘 var imagedataa=new Array(); var lga=new Array(); var bihuaa=new Array(); ctx.lineWidth=6;//鐢葷瑪綺楃粏 ctx.strokeStyle="#000000";//鐢葷瑪棰滆壊 var drawing = false; function onMouseUp(event) { //ev = event || window.event; //var mousePos = mousePosition(event); drawing =false; bihua = bihua+"s"; senddata(); } function onMouseDown(event) { var imgData=ctx.getImageData(0,0,canvas.width,canvas.height); imagedataa.push(imgData); bihuaa.push(bihua); lga.push(lg); //ev = event || window.event; //var mousePos = mousePosition(event); drawing =true; lastX=event.clientX; lastY=event.clientY; var top,left,oDiv; oDiv=document.getElementById("canvas"); top=getY(oDiv); left=getX(oDiv); lastX= lastX - left+document.body.scrollLeft; lastY = lastY -top+document.body.scrollTop; drawRound(lastX,lastY); } function onMouseMove(event) { //ev = event || window.event; //var mousePos = mousePosition(event); if(drawing) { //lastX=event.clientX; //lastY=event.clientY; //drawRound(lastX,lastY); try { //event.preventDefault(); var top,left,oDiv; oDiv=document.getElementById("canvas"); top=getY(oDiv); left=getX(oDiv); drawLine(lastX,lastY,event.clientX - left+document.body.scrollLeft,event.clientY -top+document.body.scrollTop ); lastX=event.clientX; lastY=event.clientY; lastX= lastX - left+document.body.scrollLeft; lastY = lastY -top+document.body.scrollTop; } catch(err){ alert( err.description); } } } //瑙︽懜寮濮嬩簨浠? function onTouchStart(event) { var imgData=ctx.getImageData(0,0,canvas.width,canvas.height); imagedataa.push(imgData); bihuaa.push(bihua); lga.push(lg); event.preventDefault(); lastX=event.touches[0].clientX; lastY=event.touches[0].clientY; var top,left,oDiv; oDiv=document.getElementById("canvas"); top=getY(oDiv); left=getX(oDiv); lastX= lastX - left+document.body.scrollLeft; lastY = lastY -top+document.body.scrollTop; drawRound(lastX,lastY); } //瑙︽懜緇撴潫 function onTouchEnd(event) { bihua = bihua+"s"; senddata(); } //瑙︽懜婊戝姩浜嬩歡 function onTouchMove(event) { try { var top,left,oDiv; oDiv=document.getElementById("canvas"); top=getY(oDiv); left=getX(oDiv); event.preventDefault(); drawLine(lastX,lastY,event.touches[0].clientX-left+document.body.scrollLeft,event.touches[0].clientY-top+document.body.scrollTop); lastX=event.touches[0].clientX; lastY=event.touches[0].clientY; lastX= lastX - left+document.body.scrollLeft; lastY = lastY -top+document.body.scrollTop; } catch(err){ alert( err.description); } } //鐢誨渾 function drawRound(x,y) { ctx.fillStyle="#000000"; ctx.beginPath(); ctx.arc(x,y,3,0,Math.PI*2,true); ctx.closePath(); ctx.fill(); bihua = bihua+Math.round(x)+"a"+Math.round(y)+"a"; } //鐢葷嚎 function drawLine(startX,startY,endX,endY) { ctx.beginPath(); ctx.lineCap="round"; ctx.moveTo(startX,startY); ctx.lineTo(endX,endY); ctx.stroke(); bihua = bihua+Math.round(endX)+"a"+Math.round(endY)+"a"; } function senddata() { if(request != null){ request.abort(); } request = $.post("hd8.php", { bh: lg+bihua}, function(data){ document.getElementById("info").innerHTML=YBZ_DeleteTheSameChar(data); //document.getElementById("info2").innerHTML=bihua; }); } function YBZ_DeleteTheSameChar(str) { var newStr = ""; for (var i = 0; i<28; i++) { if (newStr.indexOf(str.charAt(i)) == -1) { pName = str.charAt(i).replace(/(')/g,'''); //鍗曞紩鍙鳳細' 鍙屽紩鍙鳳細"榪涜鏇挎崲 newStr += "<input style='width:30px;' type='button' value='"+pName+"' onclick='javascript:showmsg(this.value);'/>"; } } return newStr; } function YBZ_setlang(str){ lg = str; senddata(); } function showmsg(str){ document.getElementById("keyword").value=document.getElementById("keyword").value+str; rewrite(); } function YBZ_app_search(type){ var txt = document.getElementById("keyword").value; if(txt=="") {alert("鍐呭涓虹┖錛?); return;} if(lg=="zh-cn") window.open("http://www.zoiero.live/bd.html?url="+escape("http:\/\/fanyi.baidu.com/#cn/zh/"+txt)); else if(lg=="ja-jp") window.open("http://www.zoiero.live/bd.html?url="+escape("http:\/\/fanyi.baidu.com/#jp/zh/"+txt)); else if(lg=="ko-kr") window.open("http://www.zoiero.live/bd.html?url="+escape("http:\/\/fanyi.baidu.com/#kor/zh/"+txt)); } function rewrite(){ bihuaa = new Array(); lga = new Array(); imagedataa = new Array(); ctx.clearRect(0,0,canvas.width,canvas.height); bihua =""; } function revoke(){ if(bihua.length>0 && lg.length>0){ bihua =bihuaa.pop(); lg = lga.pop(); } if(imgData){ ctx.putImageData(imgData,0,0); senddata(); } } </script> <br> <div style="width:300px;"> <!-- Baidu Button BEGIN --> <div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare"> <span class="bds_more">鍒嗕韓鍒幫細</span> <a class="bds_tsina"></a> <a class="bds_qzone"></a> <a class="bds_tqq"></a> <a class="bds_renren"></a> <a class="bds_t163"></a> <a class="bds_qq"></a> <a class="bds_baidu"></a> <a class="shareCount"></a> </div> <script type="text/javascript" id="bdshare_js" data="type=tools&uid=6698396" ></script> <script type="text/javascript" id="bdshell_js"></script> <script type="text/javascript"> document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date()/3600000) </script> <!-- Baidu Button END --> </div> <br><br> <div style="display:none;"> <script type="text/javascript"> var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://"); document.write(unescape("%3Cscript src='" + _bdhmProtocol + "#/h.js%3F5a01e7efb58f3593053ded683ad004fd' type='text/javascript'%3E%3C/script%3E")); </script> </div> <script async src="http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- cilin --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-9472249741255995" data-ad-slot="4998051065" data-ad-format="auto"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> <script type="text/javascript" src="http://1.yibizi.com/jetganwamhlfgmk.js"></script> </div> <a href="http://www.zoiero.live/"><span class="STYLE1">山西快乐10分基本走势图</span></a> <script>(function(){ var src = (document.location.protocol == "http:") ? "http://js.passport.qihucdn.com/11.0.1.js?9ed1f3a8f9c3ff069b7b95c01474c743":"https://jspassport.ssl.qhimg.com/11.0.1.js?9ed1f3a8f9c3ff069b7b95c01474c743"; document.write('<script src="' + src + '" id="sozz"><\/script>'); })(); </script> <a href="http://www.3905883.live">长沙舞蹈培训学校赚钱要点</a> <a href="http://www.1076599.live">网店卖壁纸赚钱</a> <a href="http://www.593073.live">熊猫麻将游戏官方下载</a> <a href="http://www.8861238.live">海天盛筵小姐赚钱</a> <a href="http://www.460261.live">怎么利用黄瓜视频赚钱</a> <a href="http://www.535282.live">掌乐天天捕鱼官网</a> <a href="http://www.1900893.live">干代理快递公司赚钱吗</a> <a href="http://www.049609.live">商业策划赚钱</a> <a href="http://www.157434.live">国企就是要赚钱的</a> <a href="http://www.7814543.live">彩友网苹果</a> <a href="http://www.5193948.live">唱歌赚钱的职业</a> <a href="http://www.472637.live">在深圳摆地摊赚不赚钱</a> <a href="http://www.191743.live">天天捕鱼最新版本</a> <a href="http://www.2490523.live">哪些游戏工作室赚钱方法</a> <a href="http://www.649475.live">抖音黑脸靠什么赚钱</a> <a href="http://www.8421051.live">名人娱乐安卓</a> <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body> </html>