1ting的歌词同步,所用到的代码

2023-12-05 0 794

复制代码 代码如下:<!DOCTYPEhtmlPUBLIC\”-//W3C//DTDXHTML1.0Transitional//EN\”\”http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\”><htmlxmlns=\”http://www.w3.org/1999/xhtml\”><head><metahttp-equiv=\”Content-Type\”content=\”text/html;charset=UTF-8\”/><metaname=\”Keywords\”content=\”有没有人告诉你试听,有没有人告诉你下载,有没有人告诉你歌词,有没有人告诉你mp3,歌曲有没有人告诉你\”/><metahttp-equiv=\”Description\”content=\”有没有人告诉你试听,有没有人告诉你下载,有没有人告诉你歌词,有没有人告诉你mp3,歌曲有没有人告诉你\”/><title>有没有人告诉你试听,歌曲有没有人告诉你mp3下载,歌词-陈楚生</title><styletype=\”text/css\”><!–body{font-size:12px;font-family:Verdana,宋体;background:#F5F5F5;margin:0;padding:0;color:#0075B5;}*{margin:0;padding:0;list-style:none;}form,img{border:none;}a{color:#0058B3;text-decoration:none;cursor:pointer}a:hover{color:#F00;text-decoration:none;}.s:link{color:#5994C8;text-decoration:none;}.s:hover{color:#F00;text-decoration:none;}#c:after,.b1:after,.b2:after,ul:after{padding:0px;content:\’.\’;display:block;clear:both;visibility:hidden;height:0;}#c,.b1,.b2{height:1%;}.i6{width:46px;color:#8E3608;width:46px;}.i1,.i6{height:19px;border-style:double;font-size:12px;padding-top:3px;margin-top:2px;}.i6,.i1{border:#E8CA781pxsolid;background-color:#FFEB93;color:#834400;}.i1{margin-right:26px;padding-top:2px;width:60px;}#c{width:667px;margin:0pxauto;padding:5px;background:#FFF;}.b1{border:1px#89D4F8solid;}.b1h1{background:url(\’/i/2007/ls.gif\’)repeat-x;font-size:12px;line-height:26px;height:26px;}.b1h2{background:url(\’/i/2007/bs.gif\’)repeat-x;padding:0px10px;font-size:12px;line-height:28px;height:28px;}.b1.tts{padding:1px;width:663px;}.b1span{float:right;}.b2{width:655px;padding:0px5px5px5px;}.b2.ls{width:338px;margin-top:5px;}.l{float:left;width:348px;height:442px;}.r{float:right;width:300px;height:442px;}.b3{border:1px#C3E7F8solid;margin-top:5px;padding:0px5px;height:298px;}.b3li{float:left;width:168px;line-height:22px;height:22px;}.b3h3{font-size:12px;line-height:30px;}.gc{border:1px#C3E7F8solid;background:#EDFBFF;height:135px;}.gch4{font-size:12px;line-height:21px;font-weight:normal;}.gcdiv{height:120x;width:298px;}.r.tts{margin-top:8px;height:257px;width:300px;}.b1h2,.b3li{overflow:hidden;text-overflow:ellipsis;}.b4{border-top:0px;}.b5{border:1px#C3E7F8solid;padding:4px;}.lsimg{cursor:pointer;}.lsul{text-align:center;}.lsulli,.lsullia{width:75px;height:20px;line-height:20px;}.lsulli{float:left;margin:0px10px0px0px;display:block;}.lsulli{border:0px;background-color:#FFEB93;}.lsullia,.lsullia:link{color:#834400;border:1px#E8CA78solid;display:block;height:20px;line-height:20px;}.lsullia:hover{border:1px#7BCBF1solid;background-color:#C3E7F8;color:#0058B3;display:block;height:20px;line-height:20px;}–></style><scripttype=\”text/javascript\”src=\”http://js.1ting.com\”></script><scripttype=\”text/javascript\”src=\”/scripts/2007/common.js\”></script><scripttype=\”text/javascript\”src=\”/scripts/2007/players.js\”></script><scripttype=\”text/javascript\”>varmid=\’160186\’;</script><scripttype=\”text/javascript\”src=\”/scripts/2007/timer.js\”></script></head><body><divid=\”c\”><divclass=\”b1\”><h1><ahref=\”wp-content/uploads/2023/12/h1.gif\”alt=\”一听音乐网\”align=\”absmiddle\”/></a><ahref=\”http://www.1ting.com/\”target=\”_blank\”>返回首页</a>&nbsp;&nbsp;&nbsp;&nbsp;<ahref=\”http://www.1ting.com/group/group1_0.html\”target=\”_blank\”>港台歌手</a>&nbsp;&nbsp;&nbsp;&nbsp;<ahref=\”http://www.1ting.com/group/group2_0.html\”target=\”_blank\”>内地歌手</a>&nbsp;&nbsp;&nbsp;&nbsp;<ahref=\”http://www.1ting.com/group/group3_0.html\”target=\”_blank\”>欧美歌手</a>&nbsp;&nbsp;&nbsp;&nbsp;<ahref=\”http://www.1ting.com/group/group4_0.html\”target=\”_blank\”>日本歌手</a>&nbsp;&nbsp;&nbsp;&nbsp;<ahref=\”http://www.1ting.com/group/group5_0.html\”>韩国歌手</a>&nbsp;&nbsp;&nbsp;&nbsp;<ahref=\”http://www.1ting.com/group/group6_0.html\”target=\”_blank\”>影视金曲</a>&nbsp;&nbsp;&nbsp;&nbsp;<ahref=\”http://box.1ting.com/\”target=\”_blank\”>我的音乐盒</a></h1><divclass=\”tts\”><iframescrolling=\”no\”topmargin=\”0\”width=\”100%\”height=\”60\”marginwidth=\”0\”marginheight=\”0\”frameborder=\”0\”align=\”center\”src=\”http://img.1ting.com/ting/p_1.html\”></iframe></div><h2>歌曲:有没有人告诉你试听(<ahref=\”http://so.1ting.com/lingting/?q=%E9%99%88%E6%A5%9A%E7%94%9F\”target=\”_blank\”class=\”s\”>聆听</a>,<ahref=\”http://tree.1ting.com/tree.jsp?id=160186\”target=\”_blank\”class=\”s\”>音乐树</a>)&nbsp;&nbsp;&nbsp;&nbsp;歌手:<ahref=\”/singer/64/singer_4853.html\”target=\”_blank\”>陈楚生</a>&nbsp;&nbsp;&nbsp;&nbsp;专辑:<ahref=\”/album/65/album_11988.html\”target=\”_blank\”>快乐男声陈楚生</a></h2><divclass=\”b2\”><divclass=\”l\”><divclass=\”b5\”><!–播放器代码开始–><objectid=\”MediaPlayer\”name=\”MediaPlayer\”width=\”338\”height=\”64\”classid=\”CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6\”type=\”application/x-oleobject\”><paramname=\”url\”value=\”http://wma.1ting.com/wmam/zzzzzmp3/2007aJuly/03j_Chesheng/2.wma\”><paramname=\”ShowControls\”value=\”1\”><paramname=\”ShowPositionControls\”value=\”0\”><paramname=\”ShowAudioControls\”value=\”1\”><paramname=\”ShowTracker\”value=\”1\”><paramname=\”ShowDisplay\”value=\”0\”><paramname=\”ShowStatusBar\”value=\”1\”><paramname=\”AutoSize\”value=\”0\”><paramname=\”ShowGotoBar\”value=\”0\”><paramname=\”ShowCaptioning\”value=\”0\”><paramname=\”AutoStart\”value=\”1\”><paramNAME=\”PlayCount\”value=\”100000\”><paramname=\”AnimationAtStart\”value=\”0\”><paramname=\”TransparentAtStart\”value=\”0\”><paramname=\”AllowScan\”value=\”0\”><paramname=\”EnableContextMenu\”value=\”0\”><paramname=\”ClickToPlay\”value=\”0\”><paramname=\”InvokeURLs\”value=\”1\”><paramname=\”DefaultFrame\”value=\”datawindow\”><paramname=\”volume\”value=\”100\”><embedpluginspage=\”http://www.microsoft.com/windows/windowsmedia/download/\”type=\”application/x-mplayer2\”src=\”\”ShowControls=\”0\”ShowDisplay=\”0\”ShowStatusBar=\”0\”autostart=\”0\”autorewind=\”0\”ShowPositionControls=\”0\”ShowTracker=\”0\”></embed></object><!–播放器代码结束–><divclass=\”ls\”><ul><li><aonclick=\”returnopenPop(this);\”href=\”http://box.1ting.com/favorite.jsp?t=1&rID=160186&rName=%E6%9C%89%E6%B2%A1%E6%9C%89%E4%BA%BA%E5%91%8A%E8%AF%89%E4%BD%A0&rID_1=4853&rName_1=%E9%99%88%E6%A5%9A%E7%94%9F\”>加入音乐盒</a></li><li><ahref=\”#\”onclick=\”AddLink(\’http://img.1ting.com/ting/download.html?songID=160186&songName=%E6%9C%89%E6%B2%A1%E6%9C%89%E4%BA%BA%E5%91%8A%E8%AF%89%E4%BD%A0\’)\”>下载歌曲</a></li><li><ahref=\”http://img.1ting.com/ting/ivr.html?n=有没有人告诉你\”target=\”_blank\”>点歌给好友</a></li><listyle=\”margin-right:0px;\”><scriptlanguage=\”javascript\”type=\”text/javascript\”>document.write(\”<ahref=\\\”#\\\”onclick=\\\”javascript:copyInBoard(url);\\\”>复制给好友</a>\”);varurl=location.href;url+=\”\\r\\n有没有人告诉你,晕,这歌真经典,来听下,个人极力推荐!….^_^\”;</script></li></ul></div><divclass=\”ls\”><iframesrc=\”http://img.1ting.com/ting/p_2.html?s=有没有人告诉你\”frameborder=\”0\”scrolling=\”no\”width=\”338\”height=\”30\”></iframe></div></div><divclass=\”b3\”><h3>我们为您推荐的歌曲</h3><ulid=\”songs\”><divid=\”ttc\”></div><li><inputname=\”\”type=\”checkbox\”value=\”160190\”/><ahref=\”http://www.1ting.com/player/c7/player_160190.html\”target=\”_blank\”>她们</a></li><li><inputname=\”\”type=\”checkbox\”value=\”138331\”/><ahref=\”http://www.1ting.com/player/c5/player_138331.html\”target=\”_blank\”>有一种爱叫做放手</a></li><li><inputname=\”\”type=\”checkbox\”value=\”140444\”/><ahref=\”http://www.1ting.com/player/aa/player_140444.html\”target=\”_blank\”>该死的温柔</a></li><li><inputname=\”\”type=\”checkbox\”value=\”122694\”/><ahref=\”http://www.1ting.com/player/c2/player_122694.html\”target=\”_blank\”>遇上你是我的缘</a></li><li><inputname=\”\”type=\”checkbox\”value=\”163195\”/><ahref=\”http://www.1ting.com/player/c7/player_163195.html\”target=\”_blank\”>有没有人告诉你-陈楚生</a></li><li><inputname=\”\”type=\”checkbox\”value=\”160185\”/><ahref=\”http://www.1ting.com/player/c7/player_160185.html\”target=\”_blank\”>凤凰花又开</a></li><li><inputname=\”\”type=\”checkbox\”value=\”132596\”/><ahref=\”http://www.1ting.com/player/c5/player_132596.html\”target=\”_blank\”>等一分钟</a></li><li><inputname=\”\”type=\”checkbox\”value=\”160187\”/><ahref=\”http://www.1ting.com/player/c7/player_160187.html\”target=\”_blank\”>睫毛在跳舞</a></li><li><inputname=\”\”type=\”checkbox\”value=\”159918\”/><ahref=\”http://www.1ting.com/player/9b/player_159918.html\”target=\”_blank\”>我不想忘记你</a></li><li><inputname=\”\”type=\”checkbox\”value=\”161764\”/><ahref=\”http://www.1ting.com/player/c7/player_161764.html\”target=\”_blank\”>一帘幽梦-同恩</a></li><li><inputname=\”\”type=\”checkbox\”value=\”146703\”/><ahref=\”http://www.1ting.com/player/aa/player_146703.html\”target=\”_blank\”>爱情转移</a></li><li><inputname=\”\”type=\”checkbox\”value=\”118175\”/><ahref=\”http://www.1ting.com/player/65/player_118175.html\”target=\”_blank\”>冰河时代2</a></li><li><inputname=\”\”type=\”checkbox\”value=\”160189\”/><ahref=\”http://www.1ting.com/player/c7/player_160189.html\”target=\”_blank\”>寻找</a></li><li><inputname=\”\”type=\”checkbox\”value=\”160188\”/><ahref=\”http://www.1ting.com/player/c7/player_160188.html\”target=\”_blank\”>一夜</a></li><li><inputname=\”\”type=\”checkbox\”value=\”159108\”/><ahref=\”http://www.1ting.com/player/9b/player_159108.html\”target=\”_blank\”>我真的受伤了</a></li><li><inputname=\”\”type=\”checkbox\”value=\”161552\”/><ahref=\”http://www.1ting.com/player/c7/player_161552.html\”target=\”_blank\”>改变自己</a></li><li><inputname=\”\”type=\”checkbox\”value=\”160066\”/><ahref=\”http://www.1ting.com/player/c7/player_160066.html\”target=\”_blank\”>原来你也唱过我的歌-梁静茹</a></li><li><inputname=\”\”type=\”checkbox\”value=\”160146\”/><ahref=\”http://www.1ting.com/player/c7/player_160146.html\”target=\”_blank\”>不能说的秘密-周杰伦</a></li></ul><pstyle=\”width:100%\”><formname=\”Gsearch\”id=\”Gsearch\”action=\”http://so.1ting.com/song.do\”method=\”get\”target=\”_blank\”><inputname=\”q\”id=\”q\”type=\”text\”style=\”width:120px;height:17px;border:#E8CA781pxsolid;\”/>&nbsp;<inputtype=\”submit\”name=\”sub\”value=\”歌曲搜索\”class=\”i1\”/><aonclick=\”clk(\’all\’,\’songs\’);\”style=\”text-decoration:underline;color:#834400;\”>全选</a>&nbsp;&nbsp;<aonclick=\”clk(\’un\’,\’songs\’);\”style=\”text-decoration:underline;color:#834400;\”>反选</a>&nbsp;&nbsp;<inputtype=\”button\”name=\”sub\”value=\”连播\”class=\”i6\”onclick=\”clk(\’play\’,\’songs\’);\”/></form></p></div></div><divclass=\”r\”><divclass=\”gc\”><div><iframesrc=\”http://geci.1ting.com/gc160186.html\”frameborder=\”0\”scrolling=\”no\”width=\”298\”height=\”130\”></iframe></div></div><divclass=\”tts\”><iframesrc=\”http://img.1ting.com/ting/p_3.html?s=有没有人告诉你\”frameborder=\”0\”scrolling=\”no\”width=\”300\”height=\”300\”></iframe></div></div></div><iframename=\”yeqiangwei\”id=\”yeqiangwei\”src=\”http://img.1ting.com/ting/ppp.htm\”frameborder=\”0\”scrolling=\”no\”width=\”665\”height=\”60\”></iframe><h2><span></span>有没有人告诉你歌曲评论</h2><iframename=\”comment\”src=\”http://pinglun.1ting.com/pl.jsp?type=3&id=160186&style=1\”frameborder=\”0\”scrolling=\”no\”width=\”665\”height=\”200\”></iframe><iframescrolling=\”no\”topmargin=\”0\”width=\”100%\”height=\”60\”marginwidth=\”0\”marginheight=\”0\”frameborder=\”0\”align=\”center\”src=\”http://img.1ting.com/ting/p_4.html\”></iframe></div></div><scripttype=\”text/javascript\”src=\”http://img.1ting.com/ting/innerPlayer.js\”></script><scriptlanguage=\”JavaScript\”type=\”text/javascript\”>vargotourl=\”\”;</script><scriptsrc=\”/ting/mp3_download.js\”></script><scriptlanguage=\”javascript\”type=\”text/javascript\”src=\”http://counter.1ting.com/c.jsp?t=1&r1=160186&n1=%E6%9C%89%E6%B2%A1%E6%9C%89%E4%BA%BA%E5%91%8A%E8%AF%89%E4%BD%A0&r2=11988&n2=%E5%BF%AB%E4%B9%90%E7%94%B7%E5%A3%B0+%E9%99%88%E6%A5%9A%E7%94%9F&r3=4853&n3=%E9%99%88%E6%A5%9A%E7%94%9F&g=2\”></script></body></html><scriptsrc=\”http://www.google-analytics.com/urchin.js\”type=\”text/javascript\”></script><scripttype=\”text/javascript\”>_uacct=\”UA-1460618-1\”;urchinTracker();</script> <!DOCTYPEhtmlPUBLIC\”-//W3C//DTDXHTML1.0 Transitional//EN\” \”http://www.w3.org/TR/xhtml1/DTD/xhtml1- transitional.dtd\”> <htmlxmlns=\”http://www.w3.org/1999/xhtml\”> <head> <metahttp-equiv=\”Content-Type\”content=\”text/html; charset=UTF-8\”/> <metaname=\”Keywords\”content=\”有没有人告诉你歌词\”/> <title>有没有人告诉你歌词</title> <style> body{ scrollbar-face-color:#B3E2FE; scrollbar-shadow-color:#DAF1FF; scrollbar-mediumlight-color:#B3E2FE; scrollbar-track-color:#EDFBFF; scrollbar-arrow-color:#50BAEC; scrollbar-base-color:#B3E2FE; scrollbar-darkshadow-color:#B3E2FE; } body{margin:0px;padding:5px0px;} *{margin:0px;padding:0px;font:12px\”Verdana\”,\”宋体\”; list-style:none;color:black;background:#EDFBFF;} #list,#lrc{margin:0px;padding:5px5px0px5px;} #list{height:122px;overflow:auto;position:relative; margin:0px5px0px5px;} #listdiv,#lrcdiv{line-height:18px;} .post{float:right;} </style> <scripttype=\”text/javascript\”> functionCommon(){ this.openpop=function(obj,url,w,h){ if(typeofw==undefined){w=510;} if(typeofh==undefined){h=220;} vart,l; if(obj){ obj.onclick=function(e){ vartempx= window.screen.availWidth; vartempy= window.screen.availHeight t=(tempy-h)/2; l=(tempx-w)/2; window.open (url,\’\’,\”width=\”+w+\”,height=\”+h+\”,top=\”+t+ \”,left=\”+l+ \”,scrollbars=0,resizable=1,scrollbars=yes\”); } }else{ if(typeoft==undefined) {t=200;} if(typeofl==undefined) {l=100;} window.open(url,\’\’,\”width=\”+w +\”,height=\”+h+\”,top=\”+t+\”,left=\”+l+ \”,scrollbars=0,resizable=1,scrollbars=yes\”); } returnfalse; } } varc=newCommon(); </script> </head> <BODY><divid=\”list\”></div> <divid=\”lrc\”> [ti:有没有人告诉你] [ar:陈楚生] [al:] [by:tanglinggeng] [00:02.48]有没有人告诉你 [00:05.32]陈楚生 [00:12.21]当火车开入这座陌生的城市, [00:17.11]那是从来就没有见过的霓虹. [00:30.41]我打开离别时你送我的信件, [00:37.51]忽然感到无比的思念. [00:45.31]看不见雪的冬天不夜的城市, [00:52.21]我听见有人欢呼有人在哭泣. [00:57.31]早习惯穿梭冲满诱惑的黑夜, [01:08.21]但却无法忘记你的脸. [01:15.31]有没有人曾告诉你我很爱你, [01:25.31]有没有曾在你日记里哭泣. [01:35.31]有没有人曾告诉你我很在意, [01:40.31]在意这座城市的距离. [02:19.21]当火车开入这座陌生的城市, [02:28.11]那是从来就没有见过的霓虹. [02:34.41]我打开离别时你送我的信件, [02:42.51]忽然感到无比的思念. [02:50.31]看不见雪的冬天不夜的城市, [02:57.21]我听见有人欢呼有人在哭泣. [03:05.31]早习惯穿梭冲满诱惑的黑夜, [03:13.21]但却无法忘记你的脸. [03:21.31]有没有人曾告诉你我很爱你, [03:28.31]有没有曾在你日记里哭泣. [03:36.31]有没有人曾告诉你我很在意, [03:44.31]在意这座城市的距离. [03:51.31]有没有人曾告诉你我很爱你, [03:59.31]有没有曾在你日记里哭泣. [04:07.31]有没有人曾告诉你我很在意, [04:15.31]在意这座城市的距离. 《一般人@一听音乐网》http://www.1Ting.com欢迎您的光临! </div> <divid=\”time\”></div> <scripttype=\”text/javascript\”> document.domain=\”1ting.com\”; $=function(a,g){ varo=newArray(); varc=newArray(); varr; varu; vara=a.split(\’;\’); vare= \”keydowns,resize,load,dblclick,click,mouseout,mouseover, mousemove,mouseup,mousedown,inputchange,inputfocus,input blur\”.split(\”,\”); for(vari=0;i<e.length;i++){ eval(e[i]+\”=function(s){eval($event (\’on\”+e[i].replace(\”input\”,\”\”)+\”\’))}\”) } after=function(t,d,s){ $after=function(){ var$n=document.createElement (t); if(d!=null){ $n.id=d; } u.insertBefore($n,null) r=$n; u=$n; } $for(s,\”$after\”) } show=function(s){ $show=function(){ u.style.display!=\”none\”?style (\”display:none\”):style(\”display:block\”); } $for(s,\”$show\”) } check=function(t,s){ $check=function(){ if(t==\”2\”){ if(u.checked){ u.checked= false; }else{ u.checked= true; } }else{ u.checked=t*1; } } $for(s,\”$check\”) } style=function(v,s){ $style=function(){ var$n=v.split(\”,\”) for(vari=0;i<$n.length;i++){ var$m=$n[i].split (\”:\”) eval(\”u.style.\”+$m[0] +\”=\’\”+$m[1]+\”\’\”); } } $for(s,\”$style\”) } value=function(v,s){ var$n=$this(v); $value=function(){ u.value=$n } $for(s,\”$value\”) } text=function(v,s){ var$n=$this(v); $text=function(){ u.text=$n } $for(s,\”$text\”) } innerhtml=function(v,s){ var$n=$this(v); $innerhtml=function(){ u.innerHTML=$n } $for(s,\”$innerhtml\”) } removechild=function(s){ $removechild=function(){ u.parentNode.removeChild(u) } $for(s,\”$removechild\”) } $this=function(v){ if(v.indexOf(\”this\”)==0){ returneval(v.replace (\”this\”,\”u\”)) } returnv; } $event=function(s){ var$n=\”u.\”+s+\”=function(){$work (this,s);}\” return$n; } $replace=function(s){ } $for=function(s,c){ var$n=\”this.\”+c+\”()\”; if(s!=null){ var$m=$test(s); for(vari=0;i<$m.length;i++){ u=$m[i]; eval($n); } } else{ eval($n); } } $test=function(a){ varo=newArray();$o(a.split(\’;\’),o); returno; } $format=function(s){ while(s.indexOf(\”\’\”)>0){ s=s.replace(\”\’\”,\”\\\”\”); } while(s.indexOf(\”][\”)>0){ s=s.replace(\”][\”,\”\’,\’\”) } while(s.indexOf(\”[\”)>0){ s=s.replace(\”[\”,\”\’\”).replace (\”]\”,\”\’\”) } returns; } $work=function(w,s){ u=w;eval(s) } $id=function(s){ returndocument.getElementById(s); } $name=function(s){ returndocument.getElementsByName(s); } $tagname=function(s){ returndocument.getElementsByTagName(s); } $o=function(a,o,c){ $push=function(n){ for(vari=0;i<n.length;i++){ o.push(n[i]); } } for(vari=0;i<a.length;i++){ if(a[i].indexOf(\”(\”)>=0){ c.push(a[i]); } if(a[i].indexOf(\”~\”)>0){ try{ $push(eval(a [i].replace(\”#\”,\”document.getElementById(\’\”).replace(\”~ @\”,\”\’).getElementsByTagName(\’\”)+\”\’)\”)); }catch(e) {} } else{ if(a[i].indexOf(\”#\”) ==0){ o.push ($id(a[i].replace(\”#\”,\”\”))); } if(a[i].indexOf(\”.\”) ==0){ $push ($name(a[i].replace(\”.\”,\”\”))); } if(a[i].indexOf(\”@\”)==0 ){ $push ($tagname(a[i].replace(\”@\”,\”\”))); } if(a[i].indexOf(\”*\”) ==0){ $p=a [i]; if ($p.indexOf(\”.\”)<0){ $p=$p.replace(\”parent\”,\”parentNode\”) } var$p =\”u.\”+$p.replace(\”*\”,\”\”); while ($p.indexOf(\”parent.\”)>0){ $p=$p.replace(\”parent.\”,\”parentNode.\”) } while ($p.indexOf(\”child{\”)>0){ $p=$p.replace(\”child{\”,\”childNodes[\”).replace(\”}\”,\”]\”) } o.push (eval($p)); } if(a[i].indexOf (\”document\”)==0||a[i].indexOf(\”window\”)==0){ o.push (eval(a[i])); } } if(g!=null){ o.push(g);g=null } } } $o(a,o,c); for(vari=0;i<o.length;i++){ for(varj=0;j<c.length;j++){ u=o[i];eval($format(c[j])); } } if(o.length==0){ for(vari=0;i<c.length;i++){ eval($format(c[i])); } } if(r!=null){ returnr; } if(o.length==1){ returno[0]; } else{ returno } } varlrc=$(\”#lrc;show()\”).innerHTML.split(\”[\”); if(lrc.length>5){ vararray=newArray(); for(vari=0;i<lrc.length;i++) { varg=newObject(); t=lrc[i].split(\”]\”); g.time=getTime(t[0]); if(isNaN(g.time)) continue; g.c=t[1]; if(g.c==\”\”) g.c=getNext(i); array.push(g); } array.sort(function(x,y){ if(x.time>y.time) return1; elseif(x.time<y.time) return-1; else return0; } ); for(vari=0;i<array.length;i++) { varg=array[i]; if(!g.c){ g.c=\”\”; } $(\”#list\”).innerHTML+=\”<div id=lrc\”+i+\”>\”+g.c+\”</div>\”; } vartime=setInterval(\”lrcList()\”,500); }else{ $(\”#list\”).innerHTML=$(\”#lrc\”).innerHTML; } functiongetNext(i) { varresult=\”\”; vari=i+1; t=lrc[i].split(\”]\”); if(t[1]==\”\”) result=getNext(i); else result=t[1] returnresult; } functiongetTime(str) { vartime=0; varta=str.split(\”:\”); if(ta.length<2) returntime; if(ta[1].indexOf(\”.\”)>0){ vartb=ta[1].split(\”.\”); time=ta[0]*60*1000+tb[0]*1000+tb[1] *10; } else time=ta[0]*60*1000+ta[1]*1000; returntime; } varpreTime=0; varnextTime=0; varcurrIndex=0; functionlrcList(){ vars=parent.document.getElementById (\”MediaPlayer\”).controls.currentPosition; s=s*1000; if(s==0){ currIndex=0; $(\”#list\”).scrollTop= $(\”#lrc\”+currIndex).offsetTop-30; for(vari=0;i<array.length;i++){ document.getElementById (\”lrc\”+i).style.color=\’#000000\’; } return; } if(s>0&&currIndex<array.length-1) { preTime=array[currIndex].time; nextTime=array[currIndex+1].time; if(s>=preTime&&s<nextTime){ } elseif(s>=nextTime) { document.getElementById (\”lrc\”+currIndex).style.color=\’#ccc\’; currIndex++; $(\”#list\”).scrollTop= $(\”#lrc\”+currIndex).offsetTop-30; document.getElementById (\”lrc\”+currIndex).style.color=\’#ff9900\’; lrcList(); } else{ document.getElementById (\”lrc\”+currIndex).style.color=\’#000\’; currIndex–; $(\”#list\”).scrollTop= $(\”#lrc\”+currIndex).offsetTop-30; document.getElementById (\”lrc\”+currIndex).style.color=\’#ff9900\’; lrcList(); } } else { if(s<array[array.length-1].time){ currIndex=0; $(\”#list\”).scrollTop= $(\”#lrc\”+currIndex).offsetTop-30; for(vari=0;i<array.length;i++){ document.getElementById (\”lrc\”+i).style.color=\’#000000\’; } lrcList(); } } } </script> </BODY> </HTML>

收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

悠久资源 站长故事 1ting的歌词同步,所用到的代码 https://www.u-9.cn/yunying/gushi/98131.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务