啵少爷 发表于 2008-5-10 06:10:15

[5.10]<烟圈>歌词同步

<DIV style="LEFT: -180px; WIDTH: 960px; POSITION: relative; TOP: 90px"><IFRAME marginWidth=0 marginHeight=0 src="http://boshaoye.blog.enorth.com.cn/attachment/txt/296486.txt" frameBorder=0 width=960 scrolling=no height=670></IFRAME></DIV><BR><BR><BR><BR><BR><BR><BR></TD></TR><TR><TD height="30"></TD></TR>

[ 本帖最后由 啵少爷 于 2008-5-10 06:46 编辑 ]

果子的阿三 发表于 2008-5-10 07:37:38

今天心情这么好~跑来发原创?

啵少爷 发表于 2008-5-10 10:28:11

54~~ 发着玩!!!

savethebest 发表于 2008-5-10 14:37:23

55~~ 很不错嘛

逝去的时光 发表于 2008-5-10 16:45:13

TXT文件在YH365的个人空间里可以上传的~


<style>
v\:*{behavior:url(#default#VML)}
v\:textpath{font-family:楷体_gb2312;font-size:26px;v-text-align:left}
</style>
<xmp id=xLyric style=display:none>

烟圈
演唱:周杰伦
我不是呼之则来
脑袋又没有撞坏
你不用装模作样子 一口一口吞吐烟圈
怎样算才最划算
一人一巴掌拉倒
何必要吞吞吐吐 一串一串接着一串
说什么你不知道 一句话是你不好
最好笑最后 变成是我不好
you doesn't make sense
是不是有点无聊
好象我塞给你要你无可奈何被逼要逃
我终于看穿了爱情它不就象点根烟
随手放在嘴边(it doesn't really matter)
层层叠叠的烟圈弥漫眼前(弥漫在眼前)
最多熏红了眼
早一点看穿了爱情它不就像抽根烟
用来解闷消遣(so let's just fall in love)
大不了烫到了指尖
随手甩路边管它誓不誓言
歌词编辑_啵少爷


</xmp>
<script>
window.onerror=function(){return false}
start()
function start(){
browser_ini()
timer_ini()
emv_ini()
lrc.setData(oo("xLyric").innerHTML)
lrc.write("歌曲载入中,请耐心等待...","l")
emv.play("http://mall.fjnp.net/CustomVedio/200611141438313.mp3?/Bw7wEPcNXGphX1hmZQcDANcy.mp3")
}
function emv_ini(){
var l
window.emv={}
lrc_ini()
l="<div id=bxEmv style=position:absolute;left:100;top:200;width:600;height:460>"
l+="<div style=position:absolute;left:0;top:0;width:600;height:460;></div>"
l+="<div id=bxEmvScreen style=position:absolute;overflow:hidden;left:19;top:26;width:560;height:360;>"
l+="</div>"
l+="</div>"
l+="<object classid=clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95 id=mplayer width=250 height=200 style=display:none></object>"
insHtm(document.body,l)
emv.play=function(url){oo("mplayer").FileName=url;oo("mplayer").Play()}
emv.time=function(){
var mPos=mplayer.CurrentPosition,n=lrc.i
var n1,o,len,w,per,n0,n1
n1=n<lrc.arr.length-1?lrc.arr.slice(0,"|")*1:9999
if(n1<mPos){
   lrc.i++
   n++
   if(n==0)
    lrc.write(lrc.arr.slice("|"),"l")
   if(n<lrc.arr.length-1)
    lrc.write(lrc.arr.slice("|"),n%2==1?"l":"r")
}
if(n>=0){
   n0=lrc.arr.slice(0,"|")
   n1=lrc.arr.length>n+1?lrc.arr.slice(0,"|"):4
   o=oo("bxCaption_"+(n%2==0?"l":"r")+"_cover")
   len=o.time!=""?o.time*1:n1-n0
   per=(mPos-n0)/len
   for(i=0.001;i<1;i+=0.001){
    per1=lrc.getRealPos(o,i)
    if(per1>=per)
   break
   }
   o.style.width=o.width*i
}
}
timer.add("emv.time()")
}
function lrc_ini(){
window.lrc={}
lrc.wordPer=function(str,pos){
return str.slice(0,pos).replace(/[^\x00-\xff]/g,"").length/str.replace(/[^\x00-\xff]/g,"").length
}
lrc.setData=function(str){
var l,a,i,ad,n,j
str=str.replace(/\|/g,"").replace(/\r\n/g,"\n")
str=str.replace(/\[(\d\d)\:(\d\d)\.(\d\d)\]/g,function($0,$1,$2,$3){return ($1*60+$2*1+$3/100)+"|"})
a=str.split("\n")
lrc.arr=new Array()
for(i=0;i<a.length;i++){
   ad=a.split("|")
   for(j=1;j<ad.length;j++){
    lrc.arr.add(ad+"|"+ad)
   }
}
lrc.i=-1
sortIndex=0
sortDir=1
lrc.arr.sort(sortFoo)
}
lrc.getRealPos=function(obj,pos){
var a=obj.path,zoom=obj.zoom,pos1=pos*zoom
var a,i,ad
for(i=0;i<a.length;i++){
   ad=a
   if(pos<=ad)
    continue
   if(pos>ad&&pos<=ad)
    pos1+=(zoom*ad-zoom)*(pos-ad)
   else{
    pos1+=(zoom*ad-zoom)*(ad-ad)
   }
   
}
return pos1
}
lrc.write=function(str,pos){
var word=str,style=""
var x,y,l,w,w1,o,a,i,ad
if(/^\<.+\>/.test(str)){
   word=str.slice(">")
   style=str.slice(1).slice(0,">")
}
w=word.replace(/[^\x00-\xff]/g,"").length*13+2
if(pos=="l"){
   x=40
   y=285
}
else{
   x=520-w
   y=315
}
l="<div id=bxCaption_"+pos+" style='position:absolute;left:"+x+";top:"+y+";width:"+w+";height:32;overflow:hidden'>"
l+="<v:curve to=800,1 strokecolor=black strokeweight=3 style=position:absolute;top:14>"
l+="<v:path textpathok=t /><v:textpath on=t string='"+word+"' /></v:curve>"
l+="<v:curve to=800,1 strokecolor=white fillcolor=white strokeweight=1 style=position:absolute;top:14>"
l+="<v:path textpathok=t /><v:textpath on=t string='"+word+"' /></v:curve>"
l+="</div>"
l+="<div id=bxCaption_"+pos+"_cover width="+w+" style=position:absolute;left:"+x+";top:"+y+";width:0;height:32;overflow:hidden>"
l+="<v:curve to=800,1 strokecolor=white strokeweight=3 style=position:absolute;top:14>"
l+="<v:path textpathok=t /><v:textpath on=t string='"+word+"' /></v:curve>"
l+="<v:curve to=800,1 strokecolor=blue fillcolor=blue strokeweight=1 style=position:absolute;top:14>"
l+="<v:path textpathok=t /><v:textpath on=t string='"+word+"' /></v:curve>"
l+="</div>"
odel("bxCaption_"+pos)
odel("bxCaption_"+pos+"_cover")
insHtm("bxEmvScreen",l)
o=oo("bxCaption_"+pos+"_cover")
o.time=style.get("time")
o.path=new Array()
len1=1
a=style.split(";")
for(i=0;i<a.length;i++){
   if(!/(\d+):(\d+)/.test(a))
    continue
   if(/(\d+)-(\d+):(\d+)/.test(a)){
    ad=/(\d+)-(\d+):(\d+)/.exec(a)
    ad=lrc.wordPer(word,ad-1)
    ad=lrc.wordPer(word,ad*1)
    ad=ad
   }
   else{
    ad=/(\d+):(.+)/.exec(a)
    ad=lrc.wordPer(word,ad-1)
    ad=lrc.wordPer(word,ad*1)
   }
   len1+=(ad-ad)*(ad-1)
   o.path.add(ad)
}
o.zoom=1/len1
}
}
function browser_ini(){
window.isIE=navigator.userAgent.indexOf("IE")>0
window.isIE5=navigator.userAgent.indexOf("IE 5.0")>0
String.prototype.trim=function(){return this.replace(/(^[\s]*)|([\s]*$)/g,"")}
String.prototype.inc=function(s1,s2){if(s2==null){s2=","};return (s2+this+s2).indexOf(s2+s1+s2)>-1?true:false}
String.prototype._slice="".slice
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}
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)}
Array.prototype.add=function(key){this=key}
window.oo=function(obj){return typeof(obj)=="string"?document.getElementById(obj):obj}
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)");}}
window.odel=function(obj){if(oo(obj)!=null){oo(obj).parentNode.removeChild(oo(obj))}}
if(!isIE){
   HTMLElement.prototype.contains=function(node){if(!node)return false;do if(node==this){return true}while(node=node.parentNode){return false}}
Event.prototype.__defineGetter__("srcElement",function(){var node=this.target;while(node.nodeType!=1){node=node.parentNode}return node})
Event.prototype.__defineGetter__("toElement",function(){return this.relatedTarget})
}
}
function timer_ini(){
window.timer={}
timer.handle=null
timer.queue=""
timer.i=0
timer.add=function(key){if(!timer.queue.inc(key,";")){timer.queue+=key+";"}}
timer.del=function(key){timer.queue=move.queue.replace(key+";","")}
timer.inv=function(){
window.clearTimeout(timer.handle)
eval(timer.queue)
timer.i++
timer.handle=window.setTimeout("timer.inv()",10)
}
timer.inv()
}
function sortFoo(v1,v2){
    var s1=v1.split("|"),s2=v2.split("|")
    if(!isNaN(s1)&&!isNaN(s2)){
s1*=1
s2*=1
    }
return (s1==s2?0:(s1>s2?1:-1))*sortDir
}
</script>
<TABLE height=670 cellSpacing=0 cellPadding=0 width=960 background=http://bbs.nou.com.cn/attachments/month_0610/0cw=_9TlIYtD3MxQ2.gif
width=960 background=l3sio7qs.jpg border=1 bortercolor="#000000">
<TBODY>
<TR>
<TD><EMBED src=http://myhome.naver.net/brown444/swish/s79-m.swf width=960 height=660 type=application/x-shockwave-flash wmode="transparent" menu="false" quality="high" tybe="application/x-shockwave-flash"></EMBED><FONT id=Layer1 style="Z-INDEX: 1; LEFT: 850px; POSITION: absolute; TOP: 600px" face=华文新魏 color=#ddc255 size=3>编辑整理:啵少爷</FONT></TD></TR></TBODY></TABLE>
页: [1]
查看完整版本: [5.10]<烟圈>歌词同步