求助歌词与音乐配合代码
请问专家,音画帖的歌词与音乐完美的配合代码是……没有懂你的意思,是指歌词同步吗? 估计就是
回复 2# 的帖子
是啊,请教一下怎么做出来啊,代码是什么啊? 俺不懂~帮楼主顶下 <P><HTML xmlns:v><HEAD><BR><META http-equiv=Content-Type content=\"text/html; charset=gb2312\"><BR><META content=\"MSHTML 6.00.2900.2668\" name=GENERATOR></HEAD><BR><body bgcolor=\"#000000\" link=\"#0000FF\" vlink=\"#0000FF\" alink=\"#0000FF\" background=\"81.jpg\"></P><P><STYLE><BR>v\\:*{behavior:url(#default#VML)}<BR>v\\:textpath{font-family:楷体_gb2312;font-size:26px;v-text-align:left}<BR></STYLE><BR><XMP id=xLyric style=\"DISPLAY: none\"><BR> <BR> <BR> <BR> <BR>以此歌献给吴明爱<BR>也献给我的爱<BR><BR>歌曲:爱走了心碎了 <BR>演唱:雷龙 <BR>你的爱走了我的心碎了 <BR>我彻底被你伤透了 <BR>如果你爱我 就别伤害我 <BR>难道我们的缘分已散了 <BR>你的爱走了我的心碎了 <BR>没有我你是不是很快乐 <BR>如果是这样 我会让你走 <BR>感谢老天爷让我们相爱过<BR><BR>有些故事总是难忘 <BR>有些人却总是难放 <BR>我一直把你放在我心上 <BR>可是你却忍心让我受伤 <BR> <BR>走在有你的老地方 <BR>想着你我泪流满眶 <BR>这阵阵的春风啊 有点凉 <BR>如今没有你陪在我身旁 <BR>你的爱走了我的心碎了 <BR>我彻底被你伤透了 <BR>如果你爱我 就别伤害我 <BR>难道我们的缘分已散了 <BR>你的爱走了我的心碎了 <BR>没有我你是不是很快乐 <BR>如果是这样 我会让你走 <BR>感谢老天爷让我们相爱过 <BR> <BR> <BR> <BR> <BR>走在有你的老地方 <BR>想着你我泪流满眶 <BR>这阵阵的春风啊 有点凉 <BR>如今没有你陪在我身旁 <BR>你的爱走了我的心碎了 <BR>我彻底被你伤透了 <BR>如果你爱我 就别伤害我 <BR>难道我们的缘分已散了 <BR>你的爱走了我的心碎了 <BR>情到深处我还是放不下 <BR>你说过的话 难道忘了吗 <BR>要我怎么才能忘记你啊 <BR>你的爱走了我的心碎了 <BR>我彻底被你伤透了 <BR>如果你爱我 就别伤害我 <BR>难道我们的缘分已散了 <BR>你的爱走了我的心碎了 <BR>没有我你是不是很快乐 <BR>如果是这样 我会让你走 <BR>感谢老天爷让我们相爱过 <BR> <BR>感谢老天爷让我们相爱过 <BR> <BR>吴明爱,不知道为什么<BR>我会爱你<BR>我会心疼<BR><BR></XMP><BR><SCRIPT><BR>window.onerror=function(){return false}<BR>start()<BR>function start(){<BR> browser_ini()<BR> timer_ini()<BR> emv_ini()<BR> lrc.setData(oo(\"xLyric\").innerHTML)<BR> lrc.write(\"歌曲载入中,请耐心等待...\",\"l\")<BR> emv.play(\"<A href=\"http://mp38.com.cn/mp3/%E7%88%B1%E8%B5%B0%E4%BA%86%E5%BF%83%E7%A2%8E%E4%BA%86.wma\">http://mp38.com.cn/mp3/%E7%88%B1%E8%B5%B0%E4%BA%86%E5%BF%83%E7%A2%8E%E4%BA%86.wma</A>\")<BR>}<BR>function emv_ini(){<BR> var l<BR> window.emv={}<BR> lrc_ini()<BR> l=\"<div id=bxEmv style=position:absolute;left:200;top:50;width:600;height:460>\"<BR> l+=\"<div style=position:absolute;left:0;top:0;width:600;height:460;></div>\"<BR> l+=\"<div id=bxEmvScreen style=position:absolute;overflow:hidden;left:29;top:122;width:560;height:360;>\"<BR> l+=\"</div>\"<BR> l+=\"</div>\"<BR> l+=\"<object classid=clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95 id=mplayer width=50 height=200 style=display:none></object>\"<BR> insHtm(document.body,l)<BR> emv.play=function(url){oo(\"mplayer\").FileName=url;oo(\"mplayer\").Play()}<BR> emv.time=function(){<BR>var mPos=mplayer.CurrentPosition,n=lrc.i<BR>var n1,o,len,w,per,n0,n1<BR>n1=n<lrc.arr.length-1?lrc.arr.slice(0,\"|\")*1:9999<BR>if(n1<mPos){<BR> lrc.i++<BR> n++<BR> if(n==0)<BR> lrc.write(lrc.arr.slice(\"|\"),\"l\")<BR> if(n<lrc.arr.length-1)<BR> lrc.write(lrc.arr.slice(\"|\"),n%2==1?\"l\":\"r\")<BR>}<BR>if(n>=0){<BR> n0=lrc.arr.slice(0,\"|\")<BR> n1=lrc.arr.length>n+1?lrc.arr.slice(0,\"|\"):4<BR> o=oo(\"bxCaption_\"+(n%2==0?\"l\":\"r\")+\"_cover\")<BR> len=o.time!=\"\"?o.time*1:n1-n0<BR> per=(mPos-n0)/len<BR> for(i=0.001;i<1;i+=0.001){<BR> per1=lrc.getRealPos(o,i)<BR> if(per1>=per)<BR> break<BR> }<BR> o.style.width=o.width*i<BR>}<BR> }<BR> timer.add(\"emv.time()\")<BR>}<BR>function lrc_ini(){<BR> window.lrc={}<BR> lrc.wordPer=function(str,pos){<BR>return str.slice(0,pos).replace(/[^\\x00-\\xff]/g,\"\").length/str.replace(/[^\\x00-\\xff]/g,\"\").length<BR> }<BR> lrc.setData=function(str){<BR>var l,a,i,ad,n,j<BR>str=str.replace(/\\|/g,\"\").replace(/\\r\\n/g,\"\\n\")<BR>str=str.replace(/\\[(\\d\\d)\\:(\\d\\d)\\.(\\d\\d)\\]/g,function($0,$1,$2,$3){return ($1*60+$2*1+$3/100)+\"|\"})<BR>a=str.split(\"\\n\")<BR>lrc.arr=new Array()<BR>for(i=0;i<a.length;i++){<BR> ad=a.split(\"|\")<BR> for(j=1;j<ad.length;j++){<BR> lrc.arr.add(ad+\"|\"+ad)<BR> }<BR>}<BR>lrc.i=-1<BR>sortIndex=0<BR>sortDir=1<BR>lrc.arr.sort(sortFoo)<BR> }<BR> lrc.getRealPos=function(obj,pos){<BR>var a=obj.path,zoom=obj.zoom,pos1=pos*zoom<BR>var a,i,ad<BR>for(i=0;i<a.length;i++){<BR> ad=a<BR> if(pos<=ad)<BR> continue<BR> if(pos>ad&&pos<=ad)<BR> pos1+=(zoom*ad-zoom)*(pos-ad)<BR> else{<BR> pos1+=(zoom*ad-zoom)*(ad-ad)<BR> }<BR> <BR>}<BR>return pos1<BR> }<BR> lrc.write=function(str,pos){<BR>var word=str,style=\"\"<BR>var x,y,l,w,w1,o,a,i,ad<BR>if(/^\\<.+\\>/.test(str)){<BR> word=str.slice(\">\")<BR> style=str.slice(1).slice(0,\">\")<BR>}<BR>w=word.replace(/[^\\x00-\\xff]/g,\"\").length*13+2<BR>if(pos==\"l\"){<BR> x=40<BR> y=285<BR>}<BR>else{<BR> x=520-w<BR> y=315<BR>}<BR>l=\"<div id=bxCaption_\"+pos+\" style=\'position:absolute;left:\"+x+\";top:\"+y+\";width:\"+w+\";height:32;overflow:hidden\'>\"<BR>l+=\"<v:curve to=800,1 strokecolor=black strokeweight=3 style=position:absolute;top:14>\"<BR>l+=\"<v:path textpathok=t /><v:textpath on=t string=\'\"+word+\"\' /></v:curve>\"<BR>l+=\"<v:curve to=800,1 strokecolor=white fillcolor=white strokeweight=1 style=position:absolute;top:14>\"<BR>l+=\"<v:path textpathok=t /><v:textpath on=t string=\'\"+word+\"\' /></v:curve>\"<BR>l+=\"</div>\"<BR>l+=\"<div id=bxCaption_\"+pos+\"_cover width=\"+w+\" style=position:absolute;left:\"+x+\";top:\"+y+\";width:0;height:32;overflow:hidden>\"<BR>l+=\"<v:curve to=800,1 strokecolor=white strokeweight=3 style=position:absolute;top:14>\"<BR>l+=\"<v:path textpathok=t /><v:textpath on=t string=\'\"+word+\"\' /></v:curve>\"<BR>l+=\"<v:curve to=800,1 strokecolor=blue fillcolor=blue strokeweight=1 style=position:absolute;top:14>\"<BR>l+=\"<v:path textpathok=t /><v:textpath on=t string=\'\"+word+\"\' /></v:curve>\"<BR>l+=\"</div>\"<BR>odel(\"bxCaption_\"+pos)<BR>odel(\"bxCaption_\"+pos+\"_cover\")<BR>insHtm(\"bxEmvScreen\",l)<BR>o=oo(\"bxCaption_\"+pos+\"_cover\")<BR>o.time=style.get(\"time\")<BR>o.path=new Array()<BR>len1=1<BR>a=style.split(\";\")<BR>for(i=0;i<a.length;i++){<BR> if(!/(\\d+):(\\d+)/.test(a))<BR> continue<BR> if(/(\\d+)-(\\d+):(\\d+)/.test(a)){<BR> ad=/(\\d+)-(\\d+):(\\d+)/.exec(a)<BR> ad=lrc.wordPer(word,ad-1)<BR> ad=lrc.wordPer(word,ad*1)<BR> ad=ad<BR> }<BR> else{<BR> ad=/(\\d+):(.+)/.exec(a)<BR> ad=lrc.wordPer(word,ad-1)<BR> ad=lrc.wordPer(word,ad*1)<BR> }<BR> len1+=(ad-ad)*(ad-1)<BR> o.path.add(ad)<BR>}<BR>o.zoom=1/len1<BR> } <BR>}<BR>function browser_ini(){<BR> window.isIE=navigator.userAgent.indexOf(\"IE\")>0<BR> window.isIE5=navigator.userAgent.indexOf(\"IE 5.0\")>0<BR> String.prototype.trim=function(){return this.replace(/(^[\\s]*)|([\\s]*$)/g,\"\")}<BR> String.prototype.inc=function(s1,s2){if(s2==null){s2=\",\"};return (s2+this+s2).indexOf(s2+s1+s2)>-1?true:false}<BR> String.prototype._slice=\"\".slice<BR> String.prototype.slice=function(n1,n2){var v,b1=typeof(n1)==\"number\",b2=typeof(n2)==\"number\";if(!b1||typeof(n2)==\"string\"){v=eval(\"this._slice(\"+(b1?n1:this.indexOf(n1)+(n2==null?1:0)+(this.indexOf(n1)==-1?this.length:0))+(n2==null?\"\":(b2?n2:(this.indexOf(n2)==-1?\"\":\",\"+this.indexOf(n2))))+\")\")}else{v=isIE5&&n1<0&&n2==null?this._slice(this.length-1):eval(\"this._slice(n1\"+(n2==null?\"\":\",\"+n2)+\")\")}return v}<BR> String.prototype.get=function(str,def){if(this.inc(str,\";\"))return 1;var a=this.match(new RegExp(\"(^|;)\"+str+\":[^;]*\"));return a==null||str==\"\"?(def==null?\"\":def):a.replace(\";\",\"\").slice(str.length+1)}<BR> Array.prototype.add=function(key){this=key}<BR> window.oo=function(obj){return typeof(obj)==\"string\"?document.getElementById(obj):obj}<BR> window.insHtm=function(op,html,inEnd){op=oo(op);if(isIE){op.insertAdjacentHTML(inEnd==null?\"beforeend\":\"afterbegin\",html)}else{var r=op.ownerDocument.createRange();r.setStartBefore(op);eval(\"op.\"+(inEnd==null?\"appendChild\":\"insertBefore\")+\"(r.createContextualFragment(html),op.firstChild)\");}}<BR> window.odel=function(obj){if(oo(obj)!=null){oo(obj).parentNode.removeChild(oo(obj))}}<BR> if(!isIE){<BR> HTMLElement.prototype.contains=function(node){if(!node)return false;do if(node==this){return true}while(node=node.parentNode){return false}}<BR>Event.prototype.__defineGetter__(\"srcElement\",function(){var node=this.target;while(node.nodeType!=1){node=node.parentNode}return node})<BR>Event.prototype.__defineGetter__(\"toElement\",function(){return this.relatedTarget})<BR> }<BR>}<BR>function timer_ini(){<BR> window.timer={}<BR> timer.handle=null<BR> timer.queue=\"\"<BR> timer.i=0<BR> timer.add=function(key){if(!timer.queue.inc(key,\";\")){timer.queue+=key+\";\"}}<BR> timer.del=function(key){timer.queue=move.queue.replace(key+\";\",\"\")}<BR> timer.inv=function(){<BR>window.clearTimeout(timer.handle)<BR>eval(timer.queue)<BR>timer.i++<BR>timer.handle=window.setTimeout(\"timer.inv()\",10)<BR> }<BR> timer.inv()<BR>}<BR>function sortFoo(v1,v2){<BR> var s1=v1.split(\"|\"),s2=v2.split(\"|\")<BR> if(!isNaN(s1)&&!isNaN(s2)){<BR>s1*=1<BR>s2*=1<BR> }<BR> return (s1==s2?0:(s1>s2?1:-1))*sortDir<BR>}<BR></SCRIPT><BR><EMBED style=\"LEFT: 62; WIDTH: 800px; POSITION: absolute; TOP: -71; HEIGHT:730px\" align=right src= <A href=\"http://www.toto369.net/sucai/flash/138.swf\">http://www.toto369.net/sucai/flash/138.swf</A> type=application/octet-stream wmode=\"transparent\" quality=\"high\" ;;></EMBED><BR></P> 感谢AAA的热心回复 这么长??? 好象不行啊好象不行也
页:
[1]