- 浏览: 314159 次
- 性别:
- 来自: 北京
文章分类
最新评论
-
Jett:
...
Android的Activity一打开就出现讨嫌的软键盘,怎样将其关闭? -
nuannuan6818:
这也算是一种方法,不过感觉不可取,这样把图片的存储位置固定死了 ...
JSP 页面中用绝对路径显示图片 -
hhayyok:
xiexie
Eclipse jar打包详解 -
lixiplus:
写的好, 给力
JSP 页面中用绝对路径显示图片 -
叶落秋陌:
原来是把lib放在jar外面,帮了大忙~
Eclipse jar打包详解
<html>
<head>
<title>汉字翻译拼音</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="description" content="汉字翻译拼音">
<meta name="keywords" content="汉字翻译拼音" >
<META HTTP-EQUIV="expires" CONTENT="0">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta http-equiv=refresh content="200">
<base onmouseover="window.status='汉字翻译拼音';return true">
<script language="JavaScript">
<!--
self.moveTo(0,0)
self.resizeTo(screen.availWidth,screen.availHeight)
//-->
</script>
<script language="javascript">
set8="";set4=2;function set5(m,n,c,d,e3){set4=1;Lxyer1.style.top=document.body.scrollTop+event.clientY+20;Lxyer1.style.left=event.clientX-150;var t,a,b,f='<td align=center onmouseover=this.bgColor="#9CA4B6" onmouseout=this.bgColor="" ';if(e3==1)var g=","+eval(m+".value")+",";t='<table width=100% cellpadding=3 bgcolor=#CCD1D9 onclick="Lxyer1.style.top=-400"><tr><td><font color=#9900CC>※</font></td>'+f+'width=53 onclick=\''+m+'.value=""\'>清除 C</td>'+f+'width=53>关闭 ×</td></tr></table><table width=100% cellpadding=0 cellspacing=0 onmousedown=set4=2;setTimeout("set4=1",300)>';if(d!=null)set8=m+"^"+d;else set8=m+"^"+n;a=n.split("`");for(b=0;b<a.length;b++){if(b%c==0)t+="<tr>";t+='<td onmouseover=this.bgColor="#cccccc" onmouseout=this.bgColor="" width="'+Math.floor(100/c)+'%" height=20 onclick=';if(e3!=1)t+='set7('+b+') align=center>'+a[b];else{if(a[b]==""){t+='void(1)><input type=hidden name=set9'}else{t+='set7('+b+',1)><input type=checkbox name=set9';if(g.indexOf(","+a[b]+",")!=-1)t+=" checked"}t+='>'+a[b]}t+="</td>";if(b%c==c-1)t+="</tr>"}Lxyer1.innerHTML=t+"</table>"}function set7(m,n){;var a=set8.split("^");var b=a[1].split("`");var obj=eval(a[0]);if(n!=1){obj.value=b[m];Lxyer1.style.top=-400;return};var d=","+obj.value+",";if(d.indexOf(","+b[m]+",")==-1){set9[m].checked=true;d+=b[m]}else{set9[m].checked=false;d=d.split(","+b[m]+",").join(",")}d=d.replace(/(^\,+)|\,+$/g,"")
obj.value=d}function set6(a,b,c){;var t=a;for(var x=a+c;x<=b;x+=c)t+="`"+x;return t}document.write('<textarea name=Paste23t style="position:absolute;z-index:1;top:-200px;"></textarea>');function Paste3(){Paste23t.select();document.execCommand("Paste");return Paste23t.value}function Gt3save(f,n,a){;var b=a.indexOf("`"+f);if(b==-1)return a+"`"+f+n;var a1=a.substr(0,b);var a2=a.substring(b+3)
b=a2.indexOf("`");if(b==-1)a2="";else a2=a2.substring(b);return a1+"`"+f+n+a2}document.body.onmouseup=new Function("if(set4==1)Lxyer1.style.top=-400")
</script>
<script language=vbs>
function g5(n)
g5=asc(n)
end function
</script>
<script language=jscript>
dd="a,20319,ai,20317,an,20304,ang,20295,ao,20292,ba,20283,bai,20265,ban,20257,bang,20242,bao,20230,bei,20051,ben,20036,beng,20032,bi,20026,bian,20002,biao,19990,bie,19986,bin,19982,bing,19976,bo,19805,bu,19784,ca,19775,cai,19774,can,19763,cang,19756,cao,19751,ce,19746,ceng,19741,cha,19739,chai,19728,chan,19725,chang,19715,chao,19540,che,19531,chen,19525,cheng,19515,chi,19500,chong,19484,chou,19479,chu,19467,chuai,19289,chuan,19288,chuang,19281,chui,19275,chun,19270,chuo,19263,ci,19261,cong,19249,cou,19243,cu,19242,cuan,19238,cui,19235,cun,19227,cuo,19224,da,19218,dai,19212,dan,19038,dang,19023,dao,19018,de,19006,deng,19003,di,18996,dian,18977,diao,18961,die,18952,ding,18783,diu,18774,dong,18773,dou,18763,du,18756,duan,18741,dui,18735,dun,18731,duo,18722,e,18710,en,18697,er,18696,fa,18526,fan,18518,fang,18501,fei,18490,fen,18478,feng,18463,fo,18448,fou,18447,fu,18446,ga,18239,gai,18237,gan,18231,gang,18220,gao,18211,ge,18201,gei,18184,gen,18183,geng,18181,gong,18012,gou,17997,gu,17988,gua,17970,guai,17964,guan,17961,guang,17950,gui,17947,gun,17931,guo,17928,ha,17922,hai,17759,han,17752,hang,17733,hao,17730,he,17721,hei,17703,hen,17701,heng,17697,hong,17692,hou,17683,hu,17676,hua,17496,huai,17487,huan,17482,huang,17468,hui,17454,hun,17433,huo,17427,ji,17417,jia,17202,jian,17185,jiang,16983,jiao,16970,jie,16942,jin,16915,jing,16733,jiong,16708,jiu,16706,ju,16689,juan,16664,jue,16657,jun,16647,ka,16474,kai,16470,kan,16465,kang,16459,kao,16452,ke,16448,ken,16433,keng,16429,kong,16427,kou,16423,ku,16419,kua,16412,kuai,16407,kuan,16403,kuang,16401,kui,16393,kun,16220,kuo,16216,la,16212,lai,16205,lan,16202,lang,16187,lao,16180,le,16171,lei,16169,leng,16158,li,16155,lia,15959,lian,15958,liang,15944,liao,15933,lie,15920,lin,15915,ling,15903,liu,15889,long,15878,lou,15707,lu,15701,lv,15681,luan,15667,lue,15661,lun,15659,luo,15652,ma,15640,mai,15631,man,15625,mang,15454,mao,15448,me,15436,mei,15435,men,15419,meng,15416,mi,15408,mian,15394,miao,15385,mie,15377,min,15375,ming,15369,miu,15363,mo,15362,mou,15183,mu,15180,na,15165,nai,15158,nan,15153,nang,15150,nao,15149,ne,15144,nei,15143,nen,15141,neng,15140,ni,15139,nian,15128,niang,15121,niao,15119,nie,15117,nin,15110,ning,15109,niu,14941,nong,14937,nu,14933,nv,14930,nuan,14929,nue,14928,nuo,14926,o,14922,ou,14921,pa,14914,pai,14908,pan,14902,pang,14894,pao,14889,pei,14882,pen,14873,peng,14871,pi,14857,pian,14678,piao,14674,pie,14670,pin,14668,ping,14663,po,14654,pu,14645,qi,14630,qia,14594,qian,14429,qiang,14407,qiao,14399,qie,14384,qin,14379,qing,14368,qiong,14355,qiu,14353,qu,14345,quan,14170,que,14159,qun,14151,ran,14149,rang,14145,rao,14140,re,14137,ren,14135,reng,14125,ri,14123,rong,14122,rou,14112,ru,14109,ruan,14099,rui,14097,run,14094,ruo,14092,sa,14090,sai,14087,san,14083,sang,13917,sao,13914,se,13910,sen,13907,seng,13906,sha,13905,shai,13896,shan,13894,shang,13878,shao,13870,she,13859,shen,13847,sheng,13831,shi,13658,shou,13611,shu,13601,shua,13406,shuai,13404,shuan,13400,shuang,13398,shui,13395,shun,13391,shuo,13387,si,13383,song,13367,sou,13359,su,13356,suan,13343,sui,13340,sun,13329,suo,13326,ta,13318,tai,13147,tan,13138,tang,13120,tao,13107,te,13096,teng,13095,ti,13091,tian,13076,tiao,13068,tie,13063,ting,13060,tong,12888,tou,12875,tu,12871,tuan,12860,tui,12858,tun,12852,tuo,12849,wa,12838,wai,12831,wan,12829,wang,12812,wei,12802,wen,12607,weng,12597,wo,12594,wu,12585,xi,12556,xia,12359,xian,12346,xiang,12320,xiao,12300,xie,12120,xin,12099,xing,12089,xiong,12074,xiu,12067,xu,12058,xuan,12039,xue,11867,xun,11861,ya,11847,yan,11831,yang,11798,yao,11781,ye,11604,yi,11589,yin,11536,ying,11358,yo,11340,yong,11339,you,11324,yu,11303,yuan,11097,yue,11077,yun,11067,za,11055,zai,11052,zan,11045,zang,11041,zao,11038,ze,11024,zei,11020,zen,11019,zeng,11018,zha,11014,zhai,10838,zhan,10832,zhang,10815,zhao,10800,zhe,10790,zhen,10780,zheng,10764,zhi,10587,zhong,10544,zhou,10533,zhu,10519,zhua,10331,zhuai,10329,zhuan,10328,zhuang,10322,zhui,10315,zhun,10309,zhuo,10307,zi,10296,zong,10281,zou,10274,zu,10270,zuan,10262,zui,10260,zun,10256,zuo,10254".split(",")
//Ianse.Com
function jjfy(n)
{
t=""
for(x=0;x<n.length;x++)
{
var r3=""
if(rcb3.checked)r3=" "
b=n.charAt(x)
a=g5(b)
if(a>0 && a<160)
{
if(rcb2.checked)t+=b
}
else if(a<-20319 || a>-10247)
{
if(rcb1.checked)t+=b
}
else
{
if(pjandchina[0].checked)t+=getP(a)+r3
else if(pjandchina[1].checked)t+=b+getP(a)+r3
else t+=getP(a)+b+r3
}
}
return t
}
function getP(n)
{
for(var i=dd.length-1;i>0;i-=2)
{
if(dd[i]*(-1)<=n)return dd[i-1]
}
return "?"
}
</script>
<link href="http://www.knowsky.com/style.css" rel="stylesheet" type="text/css">
</head>
<body topmargin="5" leftmargin="0" marginwidth="0" marginheight="0">
<table cellspacing="0" cellpadding="0" width="600" align="center" style="BORDER:#98a7b8 1px solid;" bgcolor="#fcfcfc">
<tr align="center">
<td height=31 colspan=2><font color="#333333" class="t15"><b>在线将汉字翻译为汉语拼音,可选择翻译中汉字对照</b></font>
</td>
</tr>
<tr>
<td width="70" align="right">原中文:</td>
<td width="530">
<textarea name="af1" rows="10" id="af1" style="width:98%">“动态网站制作指南”真诚为您服务!</textarea>
<br>
<input type=button value="复制" onClick=af1.select();document.execCommand("Copy") name="button">
<input type=button value="粘贴" onClick=af1.value+=Paste3() name="button">
<input type=button value="清除" onClick='af1.value=""' name="button">
</td>
</tr>
<tr>
<td height="40" colspan="2" align="center" valign="top">
<input id="Ianse_Com_Button" type=button onClick="if (af1.value==''){ alert('请输入需要转换成拼音的中文!');return false;}af2.value=jjfy(af1.value);" value=" 翻译↓ " class="bt_mouseout" onMouseOver="this.className='bt_mouseover'" onMouseOut="this.className='bt_mouseout'" style="padding-top:0px" name="button">
</td>
</tr>
<tr>
<td align="right">拼音字符:</td>
<td>
<textarea name="af2" rows="10" id="af2" style="width:98%"></textarea>
<br />
<input type=button value="复制" onClick=af2.select();document.execCommand("Copy") name="button">
<input type=button value="粘贴" onClick=af2.value+=Paste3() name="button">
<input type=button value="清除" onClick='af2.value=""' name="button">
</td>
</tr>
<tr>
<td height="45" align="right">对照方式:</td>
<td height="45"> <label for="aa1">
<input id="aa1" style="width:16px;height:16px;" name="pjandchina" type="radio" value="radiobutton" checked>
普通翻译</label> <label for="aa2">
<input id="aa2" style="width:16px;height:16px;" type="radio" name="pjandchina" value="radiobutton">
对照(中文在拼音前)</label> <label for="aa3">
<input id="aa3" style="width:16px;height:16px;" type="radio" name="pjandchina" value="radiobutton">
对照(中文在拼音后)</label></td>
</tr>
<tr>
<td height="35" align="right">符号设置:</td>
<td height="35"> <label for="rcb1">
<input style="width:16px;height:16px;" name="rcb1" type="checkbox" id="rcb1" value="checkbox" checked align="absmiddle" />
保留中文标点符号</label> <label for="rcb2">
<input style="width:16px;height:16px;" name="rcb2" type="checkbox" id="rcb2" value="checkbox" checked align="absmiddle" />
保留字母和回车符号</label> <label for="rcb3">
<input style="width:16px;height:16px;" name="rcb3" type="checkbox" id="rcb3" value="checkbox" checked align="absmiddle" />
中文字之间加空格</label></td>
</tr>
<tr>
<td height=15 colspan=2></td>
</tr>
</table>
</div>
</body>
</html>
<head>
<title>汉字翻译拼音</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="description" content="汉字翻译拼音">
<meta name="keywords" content="汉字翻译拼音" >
<META HTTP-EQUIV="expires" CONTENT="0">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta http-equiv=refresh content="200">
<base onmouseover="window.status='汉字翻译拼音';return true">
<script language="JavaScript">
<!--
self.moveTo(0,0)
self.resizeTo(screen.availWidth,screen.availHeight)
//-->
</script>
<script language="javascript">
set8="";set4=2;function set5(m,n,c,d,e3){set4=1;Lxyer1.style.top=document.body.scrollTop+event.clientY+20;Lxyer1.style.left=event.clientX-150;var t,a,b,f='<td align=center onmouseover=this.bgColor="#9CA4B6" onmouseout=this.bgColor="" ';if(e3==1)var g=","+eval(m+".value")+",";t='<table width=100% cellpadding=3 bgcolor=#CCD1D9 onclick="Lxyer1.style.top=-400"><tr><td><font color=#9900CC>※</font></td>'+f+'width=53 onclick=\''+m+'.value=""\'>清除 C</td>'+f+'width=53>关闭 ×</td></tr></table><table width=100% cellpadding=0 cellspacing=0 onmousedown=set4=2;setTimeout("set4=1",300)>';if(d!=null)set8=m+"^"+d;else set8=m+"^"+n;a=n.split("`");for(b=0;b<a.length;b++){if(b%c==0)t+="<tr>";t+='<td onmouseover=this.bgColor="#cccccc" onmouseout=this.bgColor="" width="'+Math.floor(100/c)+'%" height=20 onclick=';if(e3!=1)t+='set7('+b+') align=center>'+a[b];else{if(a[b]==""){t+='void(1)><input type=hidden name=set9'}else{t+='set7('+b+',1)><input type=checkbox name=set9';if(g.indexOf(","+a[b]+",")!=-1)t+=" checked"}t+='>'+a[b]}t+="</td>";if(b%c==c-1)t+="</tr>"}Lxyer1.innerHTML=t+"</table>"}function set7(m,n){;var a=set8.split("^");var b=a[1].split("`");var obj=eval(a[0]);if(n!=1){obj.value=b[m];Lxyer1.style.top=-400;return};var d=","+obj.value+",";if(d.indexOf(","+b[m]+",")==-1){set9[m].checked=true;d+=b[m]}else{set9[m].checked=false;d=d.split(","+b[m]+",").join(",")}d=d.replace(/(^\,+)|\,+$/g,"")
obj.value=d}function set6(a,b,c){;var t=a;for(var x=a+c;x<=b;x+=c)t+="`"+x;return t}document.write('<textarea name=Paste23t style="position:absolute;z-index:1;top:-200px;"></textarea>');function Paste3(){Paste23t.select();document.execCommand("Paste");return Paste23t.value}function Gt3save(f,n,a){;var b=a.indexOf("`"+f);if(b==-1)return a+"`"+f+n;var a1=a.substr(0,b);var a2=a.substring(b+3)
b=a2.indexOf("`");if(b==-1)a2="";else a2=a2.substring(b);return a1+"`"+f+n+a2}document.body.onmouseup=new Function("if(set4==1)Lxyer1.style.top=-400")
</script>
<script language=vbs>
function g5(n)
g5=asc(n)
end function
</script>
<script language=jscript>
dd="a,20319,ai,20317,an,20304,ang,20295,ao,20292,ba,20283,bai,20265,ban,20257,bang,20242,bao,20230,bei,20051,ben,20036,beng,20032,bi,20026,bian,20002,biao,19990,bie,19986,bin,19982,bing,19976,bo,19805,bu,19784,ca,19775,cai,19774,can,19763,cang,19756,cao,19751,ce,19746,ceng,19741,cha,19739,chai,19728,chan,19725,chang,19715,chao,19540,che,19531,chen,19525,cheng,19515,chi,19500,chong,19484,chou,19479,chu,19467,chuai,19289,chuan,19288,chuang,19281,chui,19275,chun,19270,chuo,19263,ci,19261,cong,19249,cou,19243,cu,19242,cuan,19238,cui,19235,cun,19227,cuo,19224,da,19218,dai,19212,dan,19038,dang,19023,dao,19018,de,19006,deng,19003,di,18996,dian,18977,diao,18961,die,18952,ding,18783,diu,18774,dong,18773,dou,18763,du,18756,duan,18741,dui,18735,dun,18731,duo,18722,e,18710,en,18697,er,18696,fa,18526,fan,18518,fang,18501,fei,18490,fen,18478,feng,18463,fo,18448,fou,18447,fu,18446,ga,18239,gai,18237,gan,18231,gang,18220,gao,18211,ge,18201,gei,18184,gen,18183,geng,18181,gong,18012,gou,17997,gu,17988,gua,17970,guai,17964,guan,17961,guang,17950,gui,17947,gun,17931,guo,17928,ha,17922,hai,17759,han,17752,hang,17733,hao,17730,he,17721,hei,17703,hen,17701,heng,17697,hong,17692,hou,17683,hu,17676,hua,17496,huai,17487,huan,17482,huang,17468,hui,17454,hun,17433,huo,17427,ji,17417,jia,17202,jian,17185,jiang,16983,jiao,16970,jie,16942,jin,16915,jing,16733,jiong,16708,jiu,16706,ju,16689,juan,16664,jue,16657,jun,16647,ka,16474,kai,16470,kan,16465,kang,16459,kao,16452,ke,16448,ken,16433,keng,16429,kong,16427,kou,16423,ku,16419,kua,16412,kuai,16407,kuan,16403,kuang,16401,kui,16393,kun,16220,kuo,16216,la,16212,lai,16205,lan,16202,lang,16187,lao,16180,le,16171,lei,16169,leng,16158,li,16155,lia,15959,lian,15958,liang,15944,liao,15933,lie,15920,lin,15915,ling,15903,liu,15889,long,15878,lou,15707,lu,15701,lv,15681,luan,15667,lue,15661,lun,15659,luo,15652,ma,15640,mai,15631,man,15625,mang,15454,mao,15448,me,15436,mei,15435,men,15419,meng,15416,mi,15408,mian,15394,miao,15385,mie,15377,min,15375,ming,15369,miu,15363,mo,15362,mou,15183,mu,15180,na,15165,nai,15158,nan,15153,nang,15150,nao,15149,ne,15144,nei,15143,nen,15141,neng,15140,ni,15139,nian,15128,niang,15121,niao,15119,nie,15117,nin,15110,ning,15109,niu,14941,nong,14937,nu,14933,nv,14930,nuan,14929,nue,14928,nuo,14926,o,14922,ou,14921,pa,14914,pai,14908,pan,14902,pang,14894,pao,14889,pei,14882,pen,14873,peng,14871,pi,14857,pian,14678,piao,14674,pie,14670,pin,14668,ping,14663,po,14654,pu,14645,qi,14630,qia,14594,qian,14429,qiang,14407,qiao,14399,qie,14384,qin,14379,qing,14368,qiong,14355,qiu,14353,qu,14345,quan,14170,que,14159,qun,14151,ran,14149,rang,14145,rao,14140,re,14137,ren,14135,reng,14125,ri,14123,rong,14122,rou,14112,ru,14109,ruan,14099,rui,14097,run,14094,ruo,14092,sa,14090,sai,14087,san,14083,sang,13917,sao,13914,se,13910,sen,13907,seng,13906,sha,13905,shai,13896,shan,13894,shang,13878,shao,13870,she,13859,shen,13847,sheng,13831,shi,13658,shou,13611,shu,13601,shua,13406,shuai,13404,shuan,13400,shuang,13398,shui,13395,shun,13391,shuo,13387,si,13383,song,13367,sou,13359,su,13356,suan,13343,sui,13340,sun,13329,suo,13326,ta,13318,tai,13147,tan,13138,tang,13120,tao,13107,te,13096,teng,13095,ti,13091,tian,13076,tiao,13068,tie,13063,ting,13060,tong,12888,tou,12875,tu,12871,tuan,12860,tui,12858,tun,12852,tuo,12849,wa,12838,wai,12831,wan,12829,wang,12812,wei,12802,wen,12607,weng,12597,wo,12594,wu,12585,xi,12556,xia,12359,xian,12346,xiang,12320,xiao,12300,xie,12120,xin,12099,xing,12089,xiong,12074,xiu,12067,xu,12058,xuan,12039,xue,11867,xun,11861,ya,11847,yan,11831,yang,11798,yao,11781,ye,11604,yi,11589,yin,11536,ying,11358,yo,11340,yong,11339,you,11324,yu,11303,yuan,11097,yue,11077,yun,11067,za,11055,zai,11052,zan,11045,zang,11041,zao,11038,ze,11024,zei,11020,zen,11019,zeng,11018,zha,11014,zhai,10838,zhan,10832,zhang,10815,zhao,10800,zhe,10790,zhen,10780,zheng,10764,zhi,10587,zhong,10544,zhou,10533,zhu,10519,zhua,10331,zhuai,10329,zhuan,10328,zhuang,10322,zhui,10315,zhun,10309,zhuo,10307,zi,10296,zong,10281,zou,10274,zu,10270,zuan,10262,zui,10260,zun,10256,zuo,10254".split(",")
//Ianse.Com
function jjfy(n)
{
t=""
for(x=0;x<n.length;x++)
{
var r3=""
if(rcb3.checked)r3=" "
b=n.charAt(x)
a=g5(b)
if(a>0 && a<160)
{
if(rcb2.checked)t+=b
}
else if(a<-20319 || a>-10247)
{
if(rcb1.checked)t+=b
}
else
{
if(pjandchina[0].checked)t+=getP(a)+r3
else if(pjandchina[1].checked)t+=b+getP(a)+r3
else t+=getP(a)+b+r3
}
}
return t
}
function getP(n)
{
for(var i=dd.length-1;i>0;i-=2)
{
if(dd[i]*(-1)<=n)return dd[i-1]
}
return "?"
}
</script>
<link href="http://www.knowsky.com/style.css" rel="stylesheet" type="text/css">
</head>
<body topmargin="5" leftmargin="0" marginwidth="0" marginheight="0">
<table cellspacing="0" cellpadding="0" width="600" align="center" style="BORDER:#98a7b8 1px solid;" bgcolor="#fcfcfc">
<tr align="center">
<td height=31 colspan=2><font color="#333333" class="t15"><b>在线将汉字翻译为汉语拼音,可选择翻译中汉字对照</b></font>
</td>
</tr>
<tr>
<td width="70" align="right">原中文:</td>
<td width="530">
<textarea name="af1" rows="10" id="af1" style="width:98%">“动态网站制作指南”真诚为您服务!</textarea>
<br>
<input type=button value="复制" onClick=af1.select();document.execCommand("Copy") name="button">
<input type=button value="粘贴" onClick=af1.value+=Paste3() name="button">
<input type=button value="清除" onClick='af1.value=""' name="button">
</td>
</tr>
<tr>
<td height="40" colspan="2" align="center" valign="top">
<input id="Ianse_Com_Button" type=button onClick="if (af1.value==''){ alert('请输入需要转换成拼音的中文!');return false;}af2.value=jjfy(af1.value);" value=" 翻译↓ " class="bt_mouseout" onMouseOver="this.className='bt_mouseover'" onMouseOut="this.className='bt_mouseout'" style="padding-top:0px" name="button">
</td>
</tr>
<tr>
<td align="right">拼音字符:</td>
<td>
<textarea name="af2" rows="10" id="af2" style="width:98%"></textarea>
<br />
<input type=button value="复制" onClick=af2.select();document.execCommand("Copy") name="button">
<input type=button value="粘贴" onClick=af2.value+=Paste3() name="button">
<input type=button value="清除" onClick='af2.value=""' name="button">
</td>
</tr>
<tr>
<td height="45" align="right">对照方式:</td>
<td height="45"> <label for="aa1">
<input id="aa1" style="width:16px;height:16px;" name="pjandchina" type="radio" value="radiobutton" checked>
普通翻译</label> <label for="aa2">
<input id="aa2" style="width:16px;height:16px;" type="radio" name="pjandchina" value="radiobutton">
对照(中文在拼音前)</label> <label for="aa3">
<input id="aa3" style="width:16px;height:16px;" type="radio" name="pjandchina" value="radiobutton">
对照(中文在拼音后)</label></td>
</tr>
<tr>
<td height="35" align="right">符号设置:</td>
<td height="35"> <label for="rcb1">
<input style="width:16px;height:16px;" name="rcb1" type="checkbox" id="rcb1" value="checkbox" checked align="absmiddle" />
保留中文标点符号</label> <label for="rcb2">
<input style="width:16px;height:16px;" name="rcb2" type="checkbox" id="rcb2" value="checkbox" checked align="absmiddle" />
保留字母和回车符号</label> <label for="rcb3">
<input style="width:16px;height:16px;" name="rcb3" type="checkbox" id="rcb3" value="checkbox" checked align="absmiddle" />
中文字之间加空格</label></td>
</tr>
<tr>
<td height=15 colspan=2></td>
</tr>
</table>
</div>
</body>
</html>
发表评论
-
JS加减乘除运算
2013-09-03 12:13 1462//加法 Number.prototype.ad ... -
JS 利用正则表达式替换字符串
2013-08-15 15:46 9644JS 利用正则表达式替换字符串 var data = & ... -
JS验证
2013-07-19 11:43 10981. URL验证 function checkU ... -
JS常用方法
2013-06-14 11:48 947//1. 去空格 function doTrimStr( ... -
在JS弹出的遮罩层中,部分区域高亮显示并且可以编辑
2012-11-13 10:37 31581. 初始页面效果如下所示: 2. 点击“点击一下试试!”链 ... -
IE9浏览器下 使用JS获取图片尺寸大小 的方法
2012-11-01 15:17 4636情况一:以下代码在IE7、IE8下获取图片的尺寸大小是没有问题 ... -
JS遍历某个目录下的所有文件名
2011-02-23 18:46 4756<!DOCTYPE HTML PUBLIC " ... -
JAVASCRIPT----style 中visibility和display之间的区别
2009-08-13 16:06 1560大多数人很容易将CSS属 ... -
javascript自定义右键菜单
2009-02-06 18:56 2159<title>右键菜单v1.0</title ... -
javascript仿照google搜索框自动补全(可以输入一个“管”字查看效果。)
2009-02-06 18:51 5109<html> <body> <s ... -
点击链接弹出"图片另存为"而不是直接打开
2009-02-06 18:02 1751<iframe height="0" ... -
javascript实现页内搜索
2009-02-06 18:00 1281<!DOCTYPE html PUBLIC " ... -
jst实现MD5加密
2009-02-06 17:55 1191<HTML> <HEAD> <M ... -
javascript图片型按钮
2009-02-06 17:46 1291<style>.button { font: 12 ... -
javascript页面loading效果
2009-02-06 17:44 1698<html> <head> <t ... -
上传附件界面设计
2009-02-06 17:37 1368<head> <meta http-equ ... -
js停止输出
2009-02-06 17:13 991<SCRIPT LANGUAGE="Jav ... -
网站后台左右收缩型页面脚本
2009-02-06 17:06 1364<html> <meta http-equi ... -
JavaScript仿LightBox内容显示效果
2009-02-06 16:58 1356<!DOCTYPE html PUBLIC " ... -
文本框点击时文字消失,失去焦点时文字出现
2009-02-06 16:55 1914<!DOCTYPE HTML PUBLIC " ...
相关推荐
在JavaScript编程语言中,实现中文转拼音的功能是一个常见的需求,特别是在前端开发中,例如创建一个网页工具,允许用户输入中文并获取对应的拼音。这个过程涉及到字符编码、Unicode和中文字符到拼音的映射。以下是...
在IT领域,拼音-汉字对照表是编程和自然语言处理中常见的工具,尤其在中文输入法、搜索引擎优化、文本分析等方面有着广泛的应用。这个压缩包包含两个关键文件:`拼音-汉字对照表-json-map.txt` 和 `拼音首字母-汉字...
标题中的“汉字对应拼音”指的是将汉字与它们的汉语拼音进行匹配的一项工作。在中文信息处理、语言学习或编程开发中,这种对应关系是至关重要的。汉语拼音是用拉丁字母来表示汉字发音的一种方法,它由声母、韵母和...
### JavaScript汉字转换成拼音:深度解析与实现 在IT领域,特别是前端开发中,文本处理是常见需求之一,其中将汉字转换为拼音的功能在多种场景下尤为重要,如语音输入、文字搜索优化、国际化应用等。本文将深入探讨...
在JavaScript编程语言中,汉字转拼音是一项常见的需求,特别是在处理用户输入、文本分析或语音合成等场景。要实现这一功能,通常需要借助于特定的库或者API,因为JavaScript本身并不直接支持这种转换。这里我们将...
本篇文章将深入探讨中文汉字转拼音的最简便方法,以及如何在实际开发中应用。 首先,我们需要理解什么是汉字转拼音。汉字转拼音是将汉字转化为其对应的汉语拼音的过程。汉语拼音是中文的标准音译系统,它为每个汉字...
这个功能可以将用户输入的中文字符转化为对应的拼音,同时还能生成中文汉字的唯一编号。这种技术在诸如搜索引擎优化(SEO)、数据分析、语音合成等方面都有广泛的应用。 首先,我们来了解一下jQuery库。jQuery是一...
这些库通过预定义的汉字拼音对照表来实现转换,将每个汉字映射到对应的汉语拼音。例如,使用Pinyin.js时,可以将一个汉字或字符串传入其提供的函数,返回对应的拼音表示: ```javascript var pinyin = require('...
在这个场景中,我们需要实现的功能是:在JavaScript中禁止用户在表单字段中输入中文汉字。 首先,我们要理解如何检测用户输入是否包含中文汉字。中文字符通常属于Unicode编码范围中的汉字区,即`[\u4e00-\u9fff]`。...
js获取汉字字符串的首字母必须先从库里面进行比较。这就是可能用到的库。
在JavaScript(JS)编程中,有时我们需要处理中文字符并获取其对应的拼音首字母,以便进行各种操作,如快速查找、排序等。这个场景通常出现在构建具有搜索功能的Web应用,尤其是中文内容丰富的网站。本文将深入探讨...
Java中的汉字拼音工具包主要服务于程序开发,尤其是前端开发,用于处理汉字与拼音之间的转换,这对于构建具有中文支持的应用或网站至关重要。这类工具包能够帮助开发者轻松地将汉字转换为对应的拼音,便于进行搜索、...
2. **编码转换**:JavaScript中的字符串是UTF-16编码,我们需要将汉字转换为Unicode码点,然后查找对应的拼音。 3. **拼音处理**:处理多音字的情况,根据上下文或配置选择正确的读音。如果没有上下文,可能需要...
汉字转拼音是将中文字符转化为对应的汉语拼音的过程,这对于非中文环境下的应用或者需要语音合成的场景非常有用。JavaScript实现这个功能通常涉及到Unicode编码和拼音库的使用。Unicode是一种国际标准,包含了世界上...
首先,需要明确的是,将中文汉字转换为其拼音首字母并不是JavaScript内置的功能。因此,开发者通常有两种方法来实现这一需求:一种是通过调用服务器端的API,由服务器来处理转换工作;另一种是在客户端使用...
这个小工具提供了一种方法来将汉字转换为其对应的汉语拼音,尽管它的实现可能相对简单,但对于理解基本原理和扩展功能来说,这是一个很好的起点。 首先,我们需要知道汉字与拼音之间的关系是通过汉字的Unicode编码...
Pinyin4j提供了API,能够将汉字转换为汉语拼音,包括声母、韵母、声调等信息。下面我们将深入探讨这个过程: 1. **Pinyin4j库的使用**: - 首先,你需要在项目中引入Pinyin4j库。这可以通过Maven或Gradle的依赖...
在提供的"javascript汉字转拼音.js"中,我们可以推测这是一个实现了汉字转拼音功能的JS文件。虽然具体内容未给出,但通常这样的库会包含一系列方法,用于将汉字字符串转换为对应的汉语拼音。 例如,库中可能会有一...
总之,“将汉字转换为拼音码的js插件”是前端开发中处理中文数据的一个实用工具,它可以帮助我们更便捷地进行汉字与拼音之间的转换,提升用户体验,特别是在搜索、过滤等功能中。理解并熟练运用这类插件,对于提升...
当需要转换汉字时,将其转换为ASCII码,然后在字典中查找匹配的拼音。 3. 实现代码: 以下是一个简单的JavaScript实现,创建了一个`dictionary`类来存储汉字拼音数据字典,然后遍历字典查找汉字对应的ASCII码。这段...