逐梦论坛's Archiver

shillan 发表于 2008-10-20 19:49

新歌词测试

<html xmlns:v><head><title>白狐</title>
<meta http-equiv=content-type content="text/html; charset=gb2312">
<style>a:link {
font-size: 9pt; color: #0066cc; font-family: 宋体; text-decoration: none
}
a:visited {
color: #0066cc; text-decoration: none
}
a:active {
color: #0066cc; text-decoration: none
}
a:hover {
color: #ff0000; text-decoration: underline
}
v\:* {
behavior: url(#default#vml)
}
v\:textpath {
font-size: 14px; font-family: 楷体_gb2312; v-text-align: left
}
</style>
<body background=http://748202.com/bbs/skin/0/bg.gif scroll=no>
<div class=time id=sm
style="z-index: 210; filter: alpha(opacity=100); left: 790px; cursor: hand; position: absolute; top: 400px"
begin="240">
<table style="margin: 24px 0px 3px" cellspacing=2 cellpadding=0 border=0>
<tbody>
<tr>
<td><img">http://748202.com/myqj/3mxsy.jpg"'
onclick=document.location.reload()">http://748202.com/myqj/3mxsy.jpg"'
height=100 src="[url=http://748202.com/myqj/3mxsy.jpg]http://748202.com/myqj/3mxsy.jpg[/url]" width=100 border=0 alt="点击重放">
</td></td></tr></tbody></table></div><!嘿嘿,随便搞张图片代替重放按钮,懒死了!>
<embed style="left: 0px; width: 1008px; position: absolute; top: 00px; height: 580px" align=right src=http://imgfree.21cn.com/free/flash/7.swf width=1008 height=580 type=application/octet-stream wmode="transparent" quality="high" ;;></embed><!找个flash链接下,反正21cn牛b的很,暂时作为背景!>
</marquee></tr></tbody></table></marquee></table><xmp id=xlyric style="display: none">
[00:03.50]歌名:白 狐
[00:09.50]词/曲:玉镯儿/枫林
[00:16.50]演唱:陈 瑞
[00:24.50]编辑:老人河
[00:38.50]我是一只修行千年的狐
[00:44.50]千年修行 千年孤独
[00:49.50]夜深人静时 可有人听见我在哭
[00:56.50]灯火阑珊处 可有人看见我跳舞
[01:03.50]我是一只等待千年的狐
[01:09.50]千年等待 千年孤独
[01:15.50]滚滚红尘里 谁又种下了爱的蛊
[01:21.50]茫茫人海中 谁又喝下了爱的毒
[01:28.50]我爱你时 你正一贫如洗寒窗苦读
[01:34.50]离开你时 你正金榜题名洞房花烛
[01:45.50]能不能为你再跳一支舞
[01:51.50]我是你千百年前放生的白狐
[01:56.50]你看衣袂飘飘 衣袂飘飘
[02:04.50]海誓山盟都化做虚无
[02:10.50]能不能为你再跳一支舞
[02:16.50]只为你临别时的那一次回顾
[02:22.50]你看衣袂飘飘 衣袂飘飘
[02:29.50]天长地久都化做虚无
[02:35.50]
[02:50.50]
[03:04.50]我是一只等待千年的狐
[03:10.50]千年等待 千年孤独
[03:16.50]滚滚红尘里 谁又种下了爱的蛊
[03:22.50]茫茫人海中 谁又喝下了爱的毒
[03:29.50]我爱你时 你正一贫如洗寒窗苦读
[03:35.50]离开你时 你正金榜题名洞房花烛
[03:45.50]能不能为你再跳一支舞
[03:51.50]我是你千百年前放生的白狐
[03:56.50]你看衣袂飘飘 衣袂飘飘
[04:03.50]海誓山盟都化做虚无
[04:10.50]能不能为你再跳一支舞
[04:16.50]只为你临别时的那一次回顾
[04:21.50]你看衣袂飘飘 衣袂飘飘
[04:28.50]天长地久都化做虚无
[04:35.50]能不能再为你跳一支舞
[04:41.50]我是你千百年前放生的白狐
[04:46.50]你看衣袂飘飘 衣袂飘飘
[04:53.50]海誓山盟都化做虚无
[05:00.50]能不能再为你跳一支舞
[05:05.50]只为你临别时的那一次回顾
[05:11.50]你看衣袂飘飘 衣袂飘飘
[05:18.50]天长地久都化做虚无
[05:24.50]能不能为你再跳一支舞
[05:30.50]我是你千百年前放生的白狐
[05:37.50]你看衣袂飘飘 衣袂飘飘
[05:44.50]海誓山盟都化做虚无
[05:48.50]over...
[05:52.50]
</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://www.xpryqc.cn/music/g.wma")//找的音乐地址
}
function emv_ini(){
var l
window.emv={}
lrc_ini()
l="<div id=bxemv style=position:absolute;left:220;top:-290;width:900;height:600>"
l+="<div style=position:absolute;left:0;top:0;width:980;height:600;></div>"
l+="<div id=bxemvscreen style=position:absolute;overflow:hidden;left:10;top:16;width:560;height:360;>"
l+="</div>"
l+="</div>"
l+="<object classid=clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95 id=mplayer width=220 height=50 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[n+1].slice(0,"|")*1:9999
if(n1<mpos){
lrc.i++
n++
if(n==0)
lrc.write(lrc.arr[n].slice("|"),"l")
if(n<lrc.arr.length-1)
lrc.write(lrc.arr[n+1].slice("|"),n%2==1?"l":"r")
}
if(n>=0){
n0=lrc.arr[n].slice(0,"|")
n1=lrc.arr.length>n+1?lrc.arr[n+1].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[i].split("|")
for(j=1;j<ad.length;j++){
lrc.arr.add(ad[j-1]+"|"+ad[ad.length-1])
}
}
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[i]
if(pos<=ad[0])
continue
if(pos>ad[0]&amp;&amp;pos<=ad[1])
pos1+=(zoom*ad[2]-zoom)*(pos-ad[0])
else{
pos1+=(zoom*ad[2]-zoom)*(ad[1]-ad[0])
}
}
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*18+2
if(pos=="l"){
x=0
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=100%,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=100%,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=100%,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=100%,1 strokecolor=#0000ff fillcolor=#0000ff 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[i]))
continue
if(/(\d+)-(\d+):(\d+)/.test(a[i])){
ad=/(\d+)-(\d+):(\d+)/.exec(a[i])
ad[0]=lrc.wordper(word,ad[1]-1)
ad[1]=lrc.wordper(word,ad[2]*1)
ad[2]=ad[3]
}
else{
ad=/(\d+):(.+)/.exec(a[i])
ad[0]=lrc.wordper(word,ad[1]-1)
ad[1]=lrc.wordper(word,ad[1]*1)
}
len1+=(ad[1]-ad[0])*(ad[2]-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&amp;&amp;n1<0&amp;&amp;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[0].replace(";","").slice(str.length+1)}
array.prototype.add=function(key){this[this.length]=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("|")[sortindex],s2=v2.split("|")[sortindex]
if(!isnan(s1)&amp;&amp;!isnan(s2)){
s1*=1
s2*=1
}
return (s1==s2?0:(s1>s2?1:-1))*sortdir
}
</script>
</body></html>

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.