可爱老人网

 找回密码
 注册会员
搜索
12
返回列表 发新帖
楼主: 维子

婉约动人范冰冰

[复制链接]
 楼主| 发表于 2013-5-19 22:47 | 显示全部楼层








刘树义 发表于 2013-5-19 18:00
 楼主| 发表于 2013-5-20 13:59 | 显示全部楼层
本帖最后由 维子 于 2013-5-20 14:03 编辑

     
《鮮花盛开的地方》
 
 

素材/网络  維子编辑

 
 楼主| 发表于 2013-5-20 19:00 | 显示全部楼层

















试试看看

 楼主| 发表于 2013-5-20 22:05 | 显示全部楼层
</div>
<div id="Layer9"></div>
<SCRIPT language=JavaScript id=code>
var Ga=new Array()  <!-- //定义一个变量数组Ga -->
Ga[0]="http://www.laitu.net/di-4UPA.jpg";
Ga[1]="http://www.laitu.net/di-WPJD.jpg";
Ga[2]="http://www.laitu.net/di-YFSN.jpg";
Ga[3]="http://www.laitu.net/di-GWMN.jpg";
Ga[4]="http://www.laitu.net/di-CNDH.jpg";
Ga[5]="http://www.laitu.net/di-JAAN.jpg";
var hayasa=2000   <!-- //两个图片之间延迟时间,10000等于10秒 -->
var suu =1;
var iTransNumber=0;
var garTransitions = new Array(); //arrary of filter strings

garTransitions[0] = "progid:DXImageTransform.Microsoft.Iris(irisstyle=diamond,motion=in)";
garTransitions[1] = "progid:DXImageTransform.Microsoft.Iris(irisStyle='plus', motion='in')";
garTransitions[2] = "progid:DXImageTransform.Microsoft.Spiral(gridSizeX=20,gridSizeY=20)";
garTransitions[3] = "progid:DXImageTransform.Microsoft.Barn(orientation='vertial' motion='out')";
garTransitions[4] = "progid:DXImageTransform.Microsoft.Barn(orientation='horizontal' motion='in')";
garTransitions[5] = "progid:DXImageTransform.Microsoft.Barn(orientation='horizontal' motion='out')";
garTransitions[6] = "progid:DXImageTransform.Microsoft.Inset()";
garTransitions[7] = "progid:DXImageTransform.Microsoft.RandomBars(motion='horizontal')";
garTransitions[8] = "progid:DXImageTransform.Microsoft.RandomBars(motion='vertical')";
garTransitions[9] = "progid:DXImageTransform.Microsoft.Spiral()";
garTransitions[10] = "progid:DXImageTransform.Microsoft.Stretch(stretchStyle='push')";
garTransitions[11] = "progid:DXImageTransform.Microsoft.Stretch(stretchStyle='pop')";
garTransitions[12] = "progid:DXImageTransform.Microsoft.Blinds(bands=6,direction=right)";
garTransitions[13] = "progid:DXImageTransform.Microsoft.Blinds(bands=6,direction=down)";
garTransitions[14] = "progid:DXImageTransform.Microsoft.Stretch(stretchstyle=spin)";
garTransitions[15] = "progid:DXImageTransform.Microsoft.Wheel(spokes=20)";
garTransitions[15] = "progid:DXImageTransform.Microsoft.Pixelate(maxSquare=20)";
garTransitions[15] = "progid:DXImageTransform.Microsoft.Wheel(spokes=20)";
var kirikaeGa=new Array()
for (kazu=0;kazu<Ga.length;kazu++){
kirikaeGa[kazu]=new Image()
kirikaeGa[kazu].src=Ga[kazu]}

function kirikae(){
if (window.createPopup)
rittai.style.filter = garTransitions[iTransNumber];
iTransNumber++;
if(iTransNumber==garTransitions.length)
iTransNumber=0;

if (window.createPopup)
rittai.filters[0].apply();

document.images.rittai.src=kirikaeGa[suu].src;
if (window.createPopup)
rittai.filters[0].play()
suu++
if (suu==kirikaeGa.length)
suu=0;
setTimeout("kirikae()",hayasa)
}
window.onload=new Function("setTimeout('kirikae()',hayasa)")
</SCRIPT>
<IMG
style="FILTER: progid:DXImageTransform.Microsoft.Stretch(stretchStyle='POP')"
height=650 src="4.jpg" width=1000 border=0 name=rittai> <!-- //显示图片的方式,src=后面一般是第一张

图片,宽度,高度位置都可以按html方法去设置 -->

<!-- ImageReady Slices (xq.psd) -->

<!-- End ImageReady Slices -->

<STYLE>v\:* {
        BEHAVIOR: url(#default#VML)
}
v\:textpath {
        FONT-SIZE: 18px; FONT-FAMILY: 楷体_gb2312; v-text-align: left
}
</STYLE>
<XMP id=xLyric style="DISPLAY: none">

[00:07.75]今夜无眠
[00:09.84]龚玥
[00:40.61]今   夜  无  眠
[00:44.41]今夜无眠
[00:48.43]当欢乐穿越时空
[00:51.93]激荡豪情无限
[00:56.22]来吧亲爱的朋友
[00:59.68]来吧亲爱的伙伴
[01:03.79]让我们为相约举杯祝愿
[01:13.17]舞翩翩月也无眠
[01:16.71]爱在天上人间
[01:20.88]歌绵绵星也有约
[01:24.91]美在梦想之间
[01:28.05]心相连风雨并肩
[01:31.91]未来不再遥远
[01:35.94]情无限祝福永远
[01:39.41]幸福岁岁年年
[02:03.89]今夜有约
[02:08.39]当梦想挽起明天
[02:11.95]拥抱生活的灿烂
[02:15.88]来吧亲爱的朋友
[02:19.76]来吧亲爱的伙伴
[02:23.44]让我们为相约举杯祝愿
[02:33.23]舞翩翩月也无眠
[02:36.57]爱在天上人间
[02:40.64]歌绵绵星也有约
[02:44.25]美在梦想之间
[02:48.02]心相连风雨并肩
[02:51.77]未来不再遥远
[02:56.15]情无限祝福永远
[02:59.44]幸福岁岁年年
[03:32.60]舞翩翩月也无眠
[03:36.98]爱在天上人间
[03:40.37]歌绵绵星也有约
[03:44.15]美在梦想之间
[03:47.73]心相连风雨并肩
[03:51.24]未来不再遥远
[03:55.61]情无限祝福永远
[03:58.49]幸福岁岁年年
[04:04.83]今夜有约
[04:10.42]今夜无眠
[04:16.20]今夜欢乐无限
[04:20.94]今夜礼花满天
</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://infinitinb.net/COFFdD0xMzY5MDMzMTA5Jmk9MTE2LjIyNC4xMC45NSZ1PVNvbmdzL3YyL2ZhaW50UUMvYzIvZWQvZmYzMTk3MDZmZGY0M2QyMzNkZTA4MTBmY2Q4MGVkYzIubXAzJm09NjQxMmIxN2I5MWNjM2Y4NTYzZDBhOGNhMjllOGZlOTYmdj1saXN0ZW4mbj298dK5zt7D3yZzPbmoq2gmcD1z.mp3")
}
function emv_ini(){
var l
window.emv={}
lrc_ini()
l=" <div id=bxEmv style=position:absolute;left:470;top:185;width:550;height:460>"
l+="<div style=position:absolute;left:0;top:0;width:550;height:460;></div>"
l+="<div id=bxEmvScreen style=position:absolute;overflow:hidden;left:129;top:50;width:500;height:460;>"
l+="</div>"
l+="</div>"
l+="<object classid=clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95 id=mplayer width=200 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[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.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
   if(pos<=ad[0])
    continue
   if(pos>ad[0]&&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*13+2
  if(pos=="l"){
   x=30
   y=310
  }
  else{
   x=320-w
   y=340
  }
  l="<div id=bxCaption_"+pos+" style='position:absolute;left:"+x+";top:"+y+";width:"+w+";height:26;overflow:hidden'>"
  l+="<v:curve to=600,1 strokecolor=green strokeweight=2 style=position:absolute;top:14>"
  l+="<v:path textpathok=t /><v:textpath on=t string='"+word+"' /></v:curve>"
  l+="<v:curve to=600,1 strokecolor=#FFFAFA 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=600,1 strokecolor=#FFFAFA strokeweight=3 style=position:absolute;top:14>"
  l+="<v:path textpathok=t /><v:textpath on=t string='"+word+"' /></v:curve>"
  l+="<v:curve to=600,1 strokecolor=#FF0000 fillcolor=#FF0000 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[0]=lrc.wordPer(word,ad[1]-1)
    ad[1]=lrc.wordPer(word,ad[2]*1)
    ad[2]=ad[3]
   }
   else{
    ad=/(\d+):(.+)/.exec(a)
    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&&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[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)&&!isNaN(s2)){
  s1*=1
  s2*=1
    }
return (s1==s2?0:(s1>s2?1:-1))*sortDir
}
</SCRIPT>
</body>
</html>
 楼主| 发表于 2013-5-20 22:12 | 显示全部楼层
</div>
<div id="Layer9"></div>
<SCRIPT language=JavaScript id=code>
var Ga=new Array()  <!-- //定义一个变量数组Ga -->
Ga[0]="1";
Ga[1]="2";
Ga[2]="3";
Ga[3]="4";
Ga[4]="5";
Ga[5]="6";
var hayasa=2000   <!-- //两个图片之间延迟时间,10000等于10秒 -->
var suu =1;
var iTransNumber=0;
var garTransitions = new Array(); //arrary of filter strings
garTransitions[0] = "progid:DXImageTransform.Microsoft.Iris(irisstyle=diamond,motion=in)";
garTransitions[1] = "progid:DXImageTransform.Microsoft.Iris(irisStyle='plus', motion='in')";
garTransitions[2] = "progid:DXImageTransform.Microsoft.Spiral(gridSizeX=20,gridSizeY=20)";
garTransitions[3] = "progid:DXImageTransform.Microsoft.Barn(orientation='vertial' motion='out')";
garTransitions[4] = "progid:DXImageTransform.Microsoft.Barn(orientation='horizontal' motion='in')";
garTransitions[5] = "progid:DXImageTransform.Microsoft.Barn(orientation='horizontal' motion='out')";
garTransitions[6] = "progid:DXImageTransform.Microsoft.Inset()";
garTransitions[7] = "progid:DXImageTransform.Microsoft.RandomBars(motion='horizontal')";
garTransitions[8] = "progid:DXImageTransform.Microsoft.RandomBars(motion='vertical')";
garTransitions[9] = "progid:DXImageTransform.Microsoft.Spiral()";
garTransitions[10] = "progid:DXImageTransform.Microsoft.Stretch(stretchStyle='push')";
garTransitions[11] = "progid:DXImageTransform.Microsoft.Stretch(stretchStyle='pop')";
garTransitions[12] = "progid:DXImageTransform.Microsoft.Blinds(bands=6,direction=right)";
garTransitions[13] = "progid:DXImageTransform.Microsoft.Blinds(bands=6,direction=down)";
garTransitions[14] = "progid:DXImageTransform.Microsoft.Stretch(stretchstyle=spin)";
garTransitions[15] = "progid:DXImageTransform.Microsoft.Wheel(spokes=20)";
garTransitions[15] = "progid:DXImageTransform.Microsoft.Pixelate(maxSquare=20)";
garTransitions[15] = "progid:DXImageTransform.Microsoft.Wheel(spokes=20)";
var kirikaeGa=new Array()
for (kazu=0;kazu<Ga.length;kazu++){
kirikaeGa[kazu]=new Image()
kirikaeGa[kazu].src=Ga[kazu]}
function kirikae(){
if (window.createPopup)
rittai.style.filter = garTransitions[iTransNumber];
iTransNumber++;
if(iTransNumber==garTransitions.length)
iTransNumber=0;
if (window.createPopup)
rittai.filters[0].apply();
document.images.rittai.src=kirikaeGa[suu].src;
if (window.createPopup)
rittai.filters[0].play()
suu++
if (suu==kirikaeGa.length)
suu=0;
setTimeout("kirikae()",hayasa)
}
window.onload=new Function("setTimeout('kirikae()',hayasa)")
</SCRIPT>
<IMG
style="FILTER: progid:DXImageTransform.Microsoft.Stretch(stretchStyle='POP')"
height=650 src="4.jpg" width=1000 border=0 name=rittai> <!-- //显示图片的方式,src=后面一般是第一张
图片,宽度,高度位置都可以按html方法去设置 -->
<!-- ImageReady Slices (xq.psd) -->
<!-- End ImageReady Slices -->
<STYLE>v\:* {
        BEHAVIOR: url(#default#VML)
}
v\:textpath {
        FONT-SIZE: 18px; FONT-FAMILY: 楷体_gb2312; v-text-align: left
}
</STYLE>
<XMP id=xLyric style="DISPLAY: none">
[00:07.75]今夜无眠
[00:09.84]龚玥
[00:40.61]今   夜  无  眠
[00:44.41]今夜无眠
[00:48.43]当欢乐穿越时空
[00:51.93]激荡豪情无限
[00:56.22]来吧亲爱的朋友
[00:59.68]来吧亲爱的伙伴
[01:03.79]让我们为相约举杯祝愿
[01:13.17]舞翩翩月也无眠
[01:16.71]爱在天上人间
[01:20.88]歌绵绵星也有约
[01:24.91]美在梦想之间
[01:28.05]心相连风雨并肩
[01:31.91]未来不再遥远
[01:35.94]情无限祝福永远
[01:39.41]幸福岁岁年年
[02:03.89]今夜有约
[02:08.39]当梦想挽起明天
[02:11.95]拥抱生活的灿烂
[02:15.88]来吧亲爱的朋友
[02:19.76]来吧亲爱的伙伴
[02:23.44]让我们为相约举杯祝愿
[02:33.23]舞翩翩月也无眠
[02:36.57]爱在天上人间
[02:40.64]歌绵绵星也有约
[02:44.25]美在梦想之间
[02:48.02]心相连风雨并肩
[02:51.77]未来不再遥远
[02:56.15]情无限祝福永远
[02:59.44]幸福岁岁年年
[03:32.60]舞翩翩月也无眠
[03:36.98]爱在天上人间
[03:40.37]歌绵绵星也有约
[03:44.15]美在梦想之间
[03:47.73]心相连风雨并肩
[03:51.24]未来不再遥远
[03:55.61]情无限祝福永远
[03:58.49]幸福岁岁年年
[04:04.83]今夜有约
[04:10.42]今夜无眠
[04:16.20]今夜欢乐无限
[04:20.94]今夜礼花满天
</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://infinitinb.net/COFFdD0xMzY5MDMzMTA5Jmk9MTE2LjIyNC4xMC45NSZ1PVNvbmdzL3YyL2ZhaW50UUMvYzIvZWQvZmYzMTk3MDZmZGY0M2QyMzNkZTA4MTBmY2Q4MGVkYzIubXAzJm09NjQxMmIxN2I5MWNjM2Y4NTYzZDBhOGNhMjllOGZlOTYmdj1saXN0ZW4mbj298dK5zt7D3yZzPbmoq2gmcD1z.mp3")
}
function emv_ini(){
var l
window.emv={}
lrc_ini()
l=" <div id=bxEmv style=position:absolute;left:470;top:185;width:550;height:460>"
l+="<div style=position:absolute;left:0;top:0;width:550;height:460;></div>"
l+="<div id=bxEmvScreen style=position:absolute;overflow:hidden;left:129;top:50;width:500;height:460;>"
l+="</div>"
l+="</div>"
l+="<object classid=clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95 id=mplayer width=200 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[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.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
   if(pos<=ad[0])
    continue
   if(pos>ad[0]&&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*13+2
  if(pos=="l"){
   x=30
   y=310
  }
  else{
   x=320-w
   y=340
  }
  l="<div id=bxCaption_"+pos+" style='position:absolute;left:"+x+";top:"+y+";width:"+w+";height:26;overflow:hidden'>"
  l+="<v:curve to=600,1 strokecolor=green strokeweight=2 style=position:absolute;top:14>"
  l+="<v:path textpathok=t /><v:textpath on=t string='"+word+"' /></v:curve>"
  l+="<v:curve to=600,1 strokecolor=#FFFAFA 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=600,1 strokecolor=#FFFAFA strokeweight=3 style=position:absolute;top:14>"
  l+="<v:path textpathok=t /><v:textpath on=t string='"+word+"' /></v:curve>"
  l+="<v:curve to=600,1 strokecolor=#FF0000 fillcolor=#FF0000 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[0]=lrc.wordPer(word,ad[1]-1)
    ad[1]=lrc.wordPer(word,ad[2]*1)
    ad[2]=ad[3]
   }
   else{
    ad=/(\d+):(.+)/.exec(a)
    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&&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[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)&&!isNaN(s2)){
  s1*=1
  s2*=1
    }
return (s1==s2?0:(s1>s2?1:-1))*sortDir
}
</SCRIPT>
</body>
</html>



  
 楼主| 发表于 2013-5-21 12:45 | 显示全部楼层
端端 发表于 2013-5-21 12:38
非常欣赏维子老师的精美作品!

真的不好,好友要帮助指出不足,帮我进步!
 楼主| 发表于 2013-5-21 17:48 | 显示全部楼层
本帖最后由 维子 于 2013-5-21 17:57 编辑